-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from kube-logging/readme
Add readme with example deployment
- Loading branch information
Showing
12 changed files
with
302 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes | ||
changelog: | ||
exclude: | ||
labels: | ||
- ignore-for-release-note | ||
categories: | ||
- title: Breaking Changes | ||
labels: | ||
- breaking-change | ||
- title: New Features | ||
labels: | ||
- feature | ||
- title: Enhancements | ||
labels: | ||
- enhancement | ||
- title: Dependency and image updates | ||
labels: | ||
- dependencies | ||
- title: Bug fixes | ||
labels: | ||
- bugfix | ||
- title: Documentation | ||
labels: | ||
- documentation | ||
- title: Testing | ||
labels: | ||
- testing | ||
- title: Other Changes | ||
labels: | ||
- "*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: ["[0-9]+.[0-9]+.[0-9]+*"] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
artifacts: | ||
name: Artifacts | ||
uses: ./.github/workflows/artifacts.yaml | ||
with: | ||
publish: true | ||
release: true | ||
permissions: | ||
contents: read | ||
packages: write | ||
id-token: write | ||
security-events: write |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: openobserve | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: openobserve | ||
namespace: openobserve | ||
spec: | ||
clusterIP: None | ||
selector: | ||
app: openobserve | ||
ports: | ||
- name: http | ||
port: 5080 | ||
targetPort: 5080 | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: openobserve-otlp-grpc | ||
namespace: openobserve | ||
spec: | ||
clusterIP: None | ||
selector: | ||
app: openobserve | ||
ports: | ||
- name: otlp-grpc | ||
port: 5081 | ||
targetPort: 5081 | ||
--- | ||
# create statefulset | ||
apiVersion: apps/v1 | ||
kind: StatefulSet | ||
metadata: | ||
name: openobserve | ||
namespace: openobserve | ||
labels: | ||
name: openobserve | ||
spec: | ||
serviceName: openobserve | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
name: openobserve | ||
app: openobserve | ||
template: | ||
metadata: | ||
labels: | ||
name: openobserve | ||
app: openobserve | ||
spec: | ||
securityContext: | ||
fsGroup: 2000 | ||
runAsUser: 10000 | ||
runAsGroup: 3000 | ||
runAsNonRoot: true | ||
# terminationGracePeriodSeconds: 0 | ||
containers: | ||
- name: openobserve | ||
image: public.ecr.aws/zinclabs/openobserve:v0.7.2 | ||
env: | ||
- name: ZO_ROOT_USER_EMAIL | ||
value: [email protected] | ||
- name: ZO_ROOT_USER_PASSWORD | ||
value: Complexpass#123 | ||
- name: ZO_DATA_DIR | ||
value: /data | ||
# command: ["/bin/bash", "-c", "while true; do sleep 1; done"] | ||
imagePullPolicy: Always | ||
resources: | ||
limits: | ||
cpu: 4096m | ||
memory: 2048Mi | ||
requests: | ||
cpu: 256m | ||
memory: 50Mi | ||
ports: | ||
- containerPort: 5080 | ||
name: http | ||
- containerPort: 50801 | ||
name: otlp-grpc | ||
volumeMounts: | ||
- name: data | ||
mountPath: /data | ||
volumeClaimTemplates: | ||
- metadata: | ||
name: data | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
# storageClassName: default | ||
# NOTE: You can increase the storage size | ||
resources: | ||
requests: | ||
storage: 10Gi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.