OpenLiberty / guide-cloud-ibm

A guide on how to deploy microservices to IBM Cloud Kubernetes Service (IKS) and IBM Cloud Private (ICP): https://openliberty.io/guides/cloud-ibm.html
Other
3 stars 4 forks source link

Tommy's Feedback #22

Closed wojtczat closed 5 years ago

wojtczat commented 5 years ago

Why Use Kubernetes Services in the Cloud

Besides that the guide was fine. There was one issue that took a while to resolve so it would be difficult to estimate a proper length, but I would guess that it shouldn't take longer than an hour if the cluster provisioned as quickly as mine. Everything else worked as expected.

andrewdes commented 5 years ago

@wojtczat I opened a PR addressing these issues here: #23.

The package goal automatically starts the dockerfile-maven:build goal. It runs during the package phase." Is this redundant?

I do not think so because it is simply saying that the package goal is going to trigger the dockerfile-maven:build goal. This goal will then be run during the package phase. Since the package goal and phase are two separate things, I don't think it is redundant.

One of the images would receive an unauthorized 401 error resulting in an ErrImgPull on the pod of the service that is failing. This can happen on either service but is fixed by running kubectl run [some name] --image=us.icr.io/[namespace]/[image]

The OL helm charts create their own service account on kubernetes (instead of using the default), so the pods didn't actually have access to the secret containing the docker credentials so it was unable to pull from the private repository. This is fixed by adding the --set image.pullSecret=default-us-icr-io flag during the helm commands.

andrewdes commented 5 years ago

@wojtczat all the feedback has been addressed and merged in #23, can I close this issue?