ramped-outside-the-cluster

command
v0.0.0-...-f36290b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2018 License: MIT Imports: 16 Imported by: 0

README

Not using a container from outside so far - skip this

Build app

GOOS=linux go build -o ./app .

create Dockerfile

cat >Dockerfile <<EOF
FROM debian
COPY ["./app", "./deployment.yaml", "update.yaml", "/home/stefan/.kube/config", "/"]
ENTRYPOINT /app
EOF

build image

docker build -t update-out-cluster .

push image as needed

run docker container

kubectl run --rm -i demo --image=stefanhans/update-out-cluster:1.0.0 --image-pull-policy=Never


kubectl exec -it demo -- /bin/bash

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL