-
Notifications
You must be signed in to change notification settings - Fork 27
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
db2express-c kubernetes pod does not start on centos probably because of entrypoint.sh #7
Comments
I don't see the error here and please elaborate the issue. |
Basically for kubernetes when I try to create a pod the pod does not comeup and ends up in CrashBackoff
|
I try with k8s today, it seems that add command: ["/entrypoint.sh","db2start"] into yaml is ok. There should be a launch parameters in k8s container. |
The solution given by @diewuq works for me. |
The solution also worked for me. Thanks @diewuq --- a/k8s/db2express-c-deployment.yaml
+++ b/k8s/db2express-c-deployment.yaml
@@ -19,6 +19,7 @@ spec:
containers:
- image: ibmcom/db2express-c
name: db2express-c
+ command: ["/entrypoint.sh","db2start"]
env:
- name: LICENSE
value: accept |
Or for docker-compose version > 3: |
kubectl logs db2xc --previous
Changing password for user db2inst1.
passwd: all authentication tokens updated successfully.
New password: Retype new password: /entrypoint.sh: line 51: exec: : not found
This I think is the compatible docker version with kubernetes.
docker --version
Docker version 1.10.3, build cb079f6-unsupported
kubectl version
Client Version: version.Info{Major:"1", Minor:"2", GitVersion:"v1.2.0", GitCommit:"ec7364b6e3b155e78086018aa644057edbe196e5", GitTreeState:"clean"}
Server Version: version.Info{Major:"1", Minor:"2", GitVersion:"v1.2.0", GitCommit:"ec7364b6e3b155e78086018aa644057edbe196e5", GitTreeState:"clean"}
Please let me know if you need more information.
The text was updated successfully, but these errors were encountered: