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
sudo microk8s addons repo add community https://github.com/canonical/microk8s-addons.git |
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
cd /var/snap/microk8s/common/addons/ | |
git clone https://github.com/myorg/myrepo |
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
$ tree /var/snap/microk8s/common/addons/core | |
/var/snap/microk8s/common/addons/core | |
├── addons | |
│ ├── community | |
│ │ ├── disable | |
│ │ └── enable | |
│ ├── dashboard | |
│ │ ├── dashboard.yaml | |
│ │ ├── disable | |
│ │ └── enable |
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
$ 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 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 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 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 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 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 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. |
NewerOlder