|
|
|
|
|
by pacala
2939 days ago
|
|
Given GKE or AKS, not quite sure how "shell scripts, the AWS API, and cron" is "much simpler" than: $ docker build . -tag gcr.io/google-samples/hello-app:1.0
$ docker push gcr.io/google-samples/hello-app:1.0
$ kubectl run hello-server --image gcr.io/google-samples/hello-app:1.0 --port 8080
$ kubectl expose deployment hello-server --type "LoadBalancer"
where the Dockerfile content is: FROM golang:1.8-alpine
ADD . /go/src/hello-app
RUN go install hello-app
FROM alpine:latest
COPY --from=0 /go/bin/hello-app .
ENV PORT 8080
CMD ["./hello-app"]
https://cloud.google.com/kubernetes-engine/docs/quickstarthttps://github.com/GoogleCloudPlatform/kubernetes-engine-sam... |
|
I'm not saying that is a bad thing by itself, but there definitely is huge amount of added complexity behind the scenes.