Last active
January 2, 2020 14:15
-
-
Save mariohercules/13662b65811449daf42826390e777e8f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker run --privileged -it -v /var/run/docker.sock:/var/run/docker.sock jongallant/ubuntu-docker-client | |
$ docker run --net=host --ipc=host --uts=host --pid=host -it --security-opt=seccomp=unconfined --privileged --rm -v /:/host alpine /bin/sh | |
$ chroot /host | |
$ vi /etc/kubernetes/manifests/kube-controller-manager.yaml | |
$ docker run --privileged -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/usr/bin/docker alpine sh | |
$ docker run --net=host --ipc=host --uts=host --pid=host -it --security-opt=seccomp=unconfined --privileged --rm -v /:/host alpine /bin/sh | |
$ chroot /host | |
$ vi /etc/kubernetes/manifests/kube-controller-manager.yaml | |
URL: https://forums.docker.com/t/how-can-i-ssh-into-the-betas-mobylinuxvm/10991/13 | |
URL: https://medium.com/@dstrimble/kubernetes-horizontal-pod-autoscaling-for-local-development-d211e52c309c | |
FROM alpine | |
MAINTAINER You <you@example.com> | |
RUN apk update && \ | |
apk add util-linux && \ | |
rm -rf /var/cache/apk/* | |
ENTRYPOINT ["nsenter", "--target", "1", "--mount", "--uts", "--ipc", "--net", "--pid"] | |
$ docker build . -t hostenter | |
kops | |
horizontalPodAutoscalerSyncPeriod: 5s | |
horizontalPodAutoscalerDownscaleDelay: 15s | |
horizontalPodAutoscalerDownscaleStabilization: 15s | |
horizontalPodAutoscalerUpscaleDelay: 15s | |
horizontalPodAutoscalerTolerance: 0.1 | |
linux | |
- --horizontal-pod-autoscaler-sync-period=0m5s | |
- --horizontal-pod-autoscaler-downscale-delay=0m15s | |
- --horizontal-pod-autoscaler-downscale-stabilization=0m15s | |
- --horizontal-pod-autoscaler-upscale-delay=0m15s | |
- --horizontal-pod-autoscaler-tolerance=0.1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment