Closed seedarren closed 4 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.
This issue is being automatically closed due to inactivity.
I am having the same issue when trying to deploy Kafka using the helm charts by Confluent. Did you find a solution?
I am facing the same issue
apiVersion: apps/v1 kind: StatefulSet metadata: name: kafka-test-cp-kafka labels: app: cp-kafka chart: cp-kafka-0.1.0 release: kafka-test heritage: Helm spec: selector: matchLabels: app: cp-kafka release: kafka-test serviceName: kafka-test-cp-kafka-headless podManagementPolicy: OrderedReady replicas: 3 updateStrategy: type: RollingUpdate template: metadata: labels: app: cp-kafka release: kafka-test annotations: prometheus.io/scrape: "true" prometheus.io/port: "5556" spec: affinity: podAntiAffinity: preferredDuringSchedulingIgnoredDuringExecution:
command:
`
@seedarren Have you solved this issue?
facing same issue... using helm
I have solved this issue by providing
## Optional Container Security context
securityContext:
runAsUser: 0
I have solved this issue by providing
## Optional Container Security context securityContext: runAsUser: 0
Thank you for your solutionm, it's fine.
Describe the bug Using helm chart to deploy kafka but kafka not able to startup and encounter error java.io.IOException: Failed to create data directory /opt/kafka/data/logs
Version of Helm and Kubernetes: Helm version 3.2.1 kubeadm version: &version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.3", GitCommit:"2e7996e3e2712684bc73f0dec0200d64eec7fe40", GitTreeState:"clean", BuildDate:"2020-05-20T12:49:29Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Which chart: incubator/kafka
What happened: Encountered error as followed:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible): Custom setting applied to deploy kafka as follow:
Anything else we need to know: