Closed OguzhanSaltik closed 5 years ago
When I append --registry-use-local
to the request it generates related yaml files. But after this process I executed kubectl apply -f generated.yaml
files like deployment, service and ingress, service and ingress successfully applied but while applying deployment.yaml, I got error.
Readiness probe failed: HTTP probe failed with statuscode: 503
and inside of the logs I got error.
2018-06-26T14:49:05.120Z [error] akka.actor.ActorSystemImpl [sourceThread=application-akka.actor.default-dispatcher-3, akkaTimestamp=14:49:05.120UTC, akkaSource=akka.actor.ActorSystemImpl(application), sourceActorSystem=application] - Failed to unmarshal Kubernetes API response status [400 Bad Request]; check RBAC settings
I applied both of the RBAC settings on https://developer.ibm.com/code/2018/03/02/lightbend-orchestration-ibm-cloud/ and https://github.com/kubernetes/kops/issues/3551 but I have same problem, nothing changed...
I downgraded my sbt-reactive-app from 1.2.2 to 1.0.0 like the answer on https://github.com/lagom/online-auction-scala/issues/78 it solves my problem temporarily.
Lightbend Orchestration is no longer actively developed and will reach its End of Life on April 15, 2020.
We recommend Migrating to the Improved Kubernetes Deployment Experience.
When I executed this command;
$ rp generate-kubernetes-resources "123456789000.dkr.ecr.eu-west-1.amazonaws.com/example-microservice-api-implementation:2.0-SNAPSHOT" --generate-pod-controllers --generate-services --pod-controller-image-pull-policy Always --env JAVA_OPTS="-Dplay.http.secret.key=secret_for_example-microservice -Dplay.filters.hosts.allowed.0=." --pod-controller-replicas 2 --external-service "cas_native=cassandra.default.svc.cluster.local" --external-service "kafka_native=ulterior-guppy-kafka-headless.default.svc.cluster.local" -l trace
I got this: