Skip to content

Instantly share code, notes, and snippets.

@ktsakalozos
ktsakalozos / gist:415518c873c721b85749e92b8b1ef822
Created April 20, 2018 07:32
Scripts for ASP.NET delivery to K8s
mkdir -p ~/workspace/dotnet
cd ~/workspace/dotnet
dotnet new razor -o HelloWorldAspNetCore
cd HelloWorldAspNetCore
dotnet run
dotnet publish -c Release
cd ~/workspace/dotnet/HelloWorldAspNetCore/
cat ./Dockerfile
root@ip-172-31-12-201:/home/ubuntu# /snap/kubelet/340/kubelet --help
Usage of /snap/kubelet/340/kubelet:
--address 0.0.0.0 The IP address for the Kubelet to serve on (set to 0.0.0.0 for all IPv4 interfaces and `::` for all IPv6 interfaces) (default 0.0.0.0)
--allow-privileged If true, allow containers to request privileged mode.
--alsologtostderr log to standard error as well as files
--anonymous-auth Enables anonymous requests to the Kubelet server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:una