This file contains hidden or 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
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 |
This file contains hidden or 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
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 |
This file contains hidden or 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
Por | Service | Access Restrictions | |
---|---|---|---|
16443 | API server | SSL encrypted. Clients need to present a valid password from a Static Password File. | |
10250 | kubelet | Anonymous authentication is disabled. X509 client certificate is required. | |
10255 | kubelet | Read only port for the Kubelet. | |
random | kube-proxy | One random port per hosted service is opened as we use --proxy-mode=userspace for compatibility reasons. |
This file contains hidden or 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
HTTPS_PROXY=http://squid.internal:3128 | |
NO_PROXY="registry.jujucharms.com, .xip.io" |
This file contains hidden or 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
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: nfs-provisioner-dev | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
labels: | |
test.service: slow-file-storage-nfs-dev |
This file contains hidden or 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
--- | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: traefik-ingress-controller | |
namespace: kube-system | |
--- | |
kind: DaemonSet | |
apiVersion: extensions/v1beta1 | |
metadata: |
This file contains hidden or 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
#!/bin/bash | |
set -eu | |
export SNAP_NAME="microk8s" | |
export SNAP_DATA="/var/snap/microk8s/current/" | |
export SNAP="/snap/microk8s/current/" | |
export PATH="$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH" | |
source $SNAP/actions/common/utils.sh |
This file contains hidden or 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
$ sudo microk8s.status --wait-ready | |
microk8s is running | |
high-availability: no | |
datastore master nodes: 127.0.0.1:19001 | |
datastore standby nodes: none | |
addons: | |
enabled: | |
ha-cluster # (core) Configure high availability on the current node | |
disabled: | |
community # (core) The community addons repository |
This file contains hidden or 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
$ sudo microk8s.enable community | |
Infer repository core for addon community | |
Cloning into '/var/snap/microk8s/common/addons/community'... | |
done. | |
Community repository is now enabled | |
$ sudo microk8s.status | |
microk8s is running | |
high-availability: no | |
datastore master nodes: 127.0.0.1:19001 | |
datastore standby nodes: none |
This file contains hidden or 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
$ tree /var/snap/microk8s/common/addons/core | |
/var/snap/microk8s/common/addons/core | |
├── addons | |
│ ├── community | |
│ │ ├── disable | |
│ │ └── enable | |
│ ├── dashboard | |
│ │ ├── dashboard.yaml | |
│ │ ├── disable | |
│ │ └── enable |
OlderNewer