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 -e | |
set -o pipefail | |
# Add user to k8s using service account, no RBAC (must create RBAC after this script) | |
if [[ -z "$1" ]] || [[ -z "$2" ]]; then | |
echo "usage: $0 <service_account_name> <namespace>" | |
exit 1 | |
fi |
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
# enable ipv6 in dockerd conf: | |
# cat /etc/docker/daemon.json | |
{ | |
"ipv6": true, | |
"fixed-cidr-v6": "2003::/64" # your ipv6. not sure if this is even necessary | |
} | |
# reload daemon conf: | |
sudo systemctl reload docker.service |
OpenEBS set with one jiva volume in default namespace.
mayadata:setup$ kubectl get pods
NAME READY STATUS RESTARTS AGE
openebs-admission-server-8695fd778c-n4tw7 1/1 Running 0 3m32s
openebs-apiserver-66f7f86b55-7fdtl 1/1 Running 2 3m32s
openebs-localpv-provisioner-58cc756c78-tmfmp 1/1 Running 0 3m32s
openebs-ndm-c2w7s 1/1 Running 0 3m32s
openebs-ndm-operator-6f7f9c6778-qjhfn 1/1 Running 1 3m32s
openebs-provisioner-5bd587c6c5-lhwrm 1/1 Running 0 3m32s