-
Notifications
You must be signed in to change notification settings - Fork 1
Add readme with example deployment #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
5564de5
Add readme with example deployment
kristofgyuracz 323ebb4
fix filepath for demo
kristofgyuracz b8d8e99
add workflow for image release
kristofgyuracz 57a7071
remove LO related line
kristofgyuracz 458d47e
explain openobserve, typos
kristofgyuracz a9c7ab5
apply namespace as manifest
kristofgyuracz f8887fd
fix uninstall order
kristofgyuracz fded74b
pin final image name in kustomize
pepov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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: root@example.com | ||
| - 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.