apache / apache/openwhisk-deploy-kube

Tutorial mycluster.yaml causes Error Loop of "owdev-install-packages" pod

Open
#704 9 comments 1 reaction 0 assignees View on GitHub
Dominant language
Shell
Stars
309
Forks
231
PR merge metrics
No merged PRs in 30d

Description

Hi everyone, i noticed there is something wrong with the default _mycluster.yaml_ shown in the docker for macOS tutorial: [Here](https://github.com/apache/openwhisk-deploy-kube/blob/master/docs/k8s-docker-for-mac.md#configuring-openwhisk)

The **apiHostName** is set on "localhost" and ther is not **apiHostProto** specified.

If you follow the tutorial as is you will end with the pod "owdev-install-packages" in a error loop.... never going in "Completed" status.

I solved the issue by specifing `apiHostProto: "https"` and changing the `apiHostName` to the kubernetes cluster ip, retrived by executing `kubectl cluster-info` and getting the value of "Kubernetes control plane" (in my case kubernetes.docker.internal) but i don't know if it's the right way to do it

Contributor guide

Open the contributing guide

Research direction

Start with docs/k8s-docker-for-mac.md and the default mycluster.yaml shown in its “Configuring OpenWhisk” section. Reproduce the tutorial and inspect the owdev-install-packages pod with kubectl; done means the documented configuration is correct and the pod reaches Completed without an error loop.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, kubernetes
Domain
documentation
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.