Skip to content
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

fix: pod startup on openshift #133

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

frzifus
Copy link

@frzifus frzifus commented Oct 16, 2024

Closes #132

Testing:

oc apply -f https://raw.githubusercontent.com/frzifus/docker-otel-lgtm/fd2e5b1687a3d86d27ad04384f2740f1b2a4154d/k8s/lgtm.yaml
╭─     ~/gi/go/o/docker-otel-lgtm/k8s    main *1 +1 ?3
╰─❯ oc version                 
Client Version: 4.16.3
Server Version: 4.16.5
Kubernetes Version: v1.29.6+aba1e8d
╭─     ~/gi/go/o/docker-otel-lgtm/k8s    openshift *1 ?3
╰─❯ oc get pods      
NAME                    READY   STATUS    RESTARTS   AGE
lgtm-669d9bf776-ljq8m   1/1     Running   0          7m18s

@zeitlinger
Copy link
Member

is there a way to fix this problem without adding mounts at all? just to keep it simple

@frzifus
Copy link
Author

frzifus commented Oct 16, 2024

I tried to add a mount for / but the problem is, in that case no files exists. ^^

@zeitlinger
Copy link
Member

ok - can you add a comment in the file explaining the reason?

Signed-off-by: Benedikt Bongartz <[email protected]>
@frzifus
Copy link
Author

frzifus commented Oct 30, 2024

added a comment @zeitlinger 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to deploy k8s example on openshift 4.16
2 participants