You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 25, 2023. It is now read-only.
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:
[debug, com.lightbend.rp.reactivecli.Main$] Attempting to pull manifest while unauthenticated
[debug, com.lightbend.rp.reactivecli.docker.DockerRegistry$] Image: Image(registry.hub.docker.com,Some(123456789000.dkr.ecr.eu-west-1.amazonaws.com),example-microservice-api-implementation,ImageTag(2.0-SNAPSHOT),None,Some(123456789000.dkr.ecr.eu-west-1.amazonaws.com),example-microservice-api-implementation,Some(ImageTag(2.0-SNAPSHOT)))
[debug, com.lightbend.rp.reactivecli.docker.DockerRegistry$] Request URL: https://registry.hub.docker.com/v2/123456789000.dkr.ecr.eu-west-1.amazonaws.com/example-microservice-api-implementation/tags/list?n=1
[debug, com.lightbend.rp.reactivecli.docker.DockerRegistry$] Received 401 from Registry, attempting to get a token and try again
[debug, com.lightbend.rp.reactivecli.docker.DockerRegistry$] Request URL: https://registry.hub.docker.com/v2/500558841489.dkr.ecr.eu-west-1.amazonaws.com/example-microservice-api-implementation/tags/list?n=1
[debug, com.lightbend.rp.reactivecli.docker.DockerRegistry$] Received 401 from Registry
[debug, com.lightbend.rp.reactivecli.docker.DockerRegistry$] checkRepositoryValid failed: unable to access repository or registry; check authentication [401]
[error, com.lightbend.rp.reactivecli.Main$] Failed to obtain Docker config for 123456789000.dkr.ecr.eu-west-1.amazonaws.com/example-microservice-api-implementation:2.0-SNAPSHOT, unable to access repository or registry; check authentication [401]
The text was updated successfully, but these errors were encountered:
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
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:
The text was updated successfully, but these errors were encountered: