You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/10/23 01:24:10 UTC
[GitHub] JiniousChoi edited a comment on issue #303: Nginx CrashLoopbackOff
JiniousChoi edited a comment on issue #303: Nginx CrashLoopbackOff
URL: https://github.com/apache/incubator-openwhisk-deploy-kube/issues/303#issuecomment-432050091
I tried this project on my new Ubuntu 18.04 LtS and now I have my controller node CrashLoopbackOff
My environmen and what commands I ran:
```
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
$ docker --version
Docker version 18.06.1-ce, build e68fc7a
$ ./dind-cluster-v1.10.sh up
$ sudo snap install helm --classic
$ helm version
Client: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
$ helm init
$ kubectl get pods -n kube-system
$ kubectl create clusterrolebinding tiller-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-system:default
$ kubectl create namespace openwhisk
$ kubectl label nodes --all openwhisk-role=invoker
$ kubectl describe node kube-node-2 | grep InternalIP
InternalIP: 10.192.0.4
$ cat mycluster.yaml
whisk:
ingress:
type: NodePort
api_host_name: 10.192.0.4
api_host_port: 31001
nginx:
httpsNodePort: 31001
$ helm install ./helm/openwhisk --namespace=openwhisk --name=owdev -f mycluster.yaml
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4b0464a65cc9 mirantis/kubeadm-dind-cluster:v1.10 "/sbin/dind_init sys…" About an hour ago Up About an hour 8080/tcp kube-node-2
bfa123bf0fc2 mirantis/kubeadm-dind-cluster:v1.10 "/sbin/dind_init sys…" About an hour ago Up About an hour 8080/tcp kube-node-1
b74ccbddd47a mirantis/kubeadm-dind-cluster:v1.10 "/sbin/dind_init sys…" About an hour ago Up About an hour 127.0.0.1:32768->8080/tcp kube-master
```
And the result is:
```
$ helm status owdev
LAST DEPLOYED: Tue Oct 23 09:45:58 2018
NAMESPACE: openwhisk
STATUS: DEPLOYED
RESOURCES:
==> v1/StatefulSet
NAME AGE
controller 24m
kafka 24m
zookeeper 24m
==> v1/Pod(related)
NAME READY STATUS RESTARTS AGE
invoker-5wb7f 0/1 Init:0/2 0 24m
invoker-sw5hk 0/1 Init:0/2 0 24m
apigateway-7b87dd957f-r4x4v 1/1 Running 0 24m
couchdb-6b87ccfb78-m8gnh 1/1 Running 0 24m
nginx-598c75d7d6-9xnw2 1/1 Running 0 24m
redis-5d77674f65-b4vqg 1/1 Running 0 24m
controller-0 0/1 CrashLoopBackOff 7 24m
kafka-0 1/1 Running 0 24m
zookeeper-0 1/1 Running 0 24m
init-couchdb-s9xdx 0/1 Completed 0 24m
==> v1/Deployment
NAME AGE
apigateway 24m
couchdb 24m
nginx 24m
redis 24m
==> v1/Job
init-couchdb 24m
install-catalog 24m
install-routemgmt 24m
==> v1/Secret
db.auth 24m
whisk.auth 24m
docker.registry.auth 24m
nginx 24m
==> v1/ConfigMap
db.config 24m
whisk.config 24m
init-couchdb 24m
install-catalog 24m
install-routemgmt 24m
docker-pull-runtimes 24m
nginx 24m
zookeeper 24m
==> v1/ServiceAccount
ow-core 24m
==> v1/RoleBinding
allow-view 24m
==> v1/Service
apigateway 24m
controller 24m
couchdb 24m
kafka 24m
nginx 24m
redis 24m
zookeeper 24m
==> v1/DaemonSet
invoker 24m
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services