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: kubeadm.k8s.io/v1beta1 | |
kind: InitConfiguration | |
localAPIEndpoint: | |
advertiseAddress: "10.192.0.2" | |
bindPort: 6443 | |
bootstrapTokens: | |
- groups: | |
- system:bootstrappers:kubeadm:default-node-token | |
# token: ... | |
ttl: 24h0m0s |
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: Pod | |
metadata: | |
creationTimestamp: null | |
labels: | |
component: etcdclient | |
tier: debug | |
name: etcdclient | |
namespace: kube-system | |
spec: |
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
kind: Cluster | |
apiVersion: kind.sigs.k8s.io/v1alpha3 | |
nodes: | |
- role: control-plane | |
extraMounts: | |
- containerPath: /kind/manifests/default-cni.yaml | |
hostPath: /home/dcooley/git/kind-demo/ha-cluster/manifests/calico.yaml | |
readOnly: true | |
type: File | |
- role: control-plane |
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: ConfigMap | |
metadata: | |
namespace: metallb-system | |
name: config | |
data: | |
config: | | |
address-pools: | |
- name: default | |
protocol: layer2 |
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
kind-0.3.0 create cluster --config kind-config.yaml --image=kindest/node:v1.13.6@sha256:9e07014fb48c746deb98ec8aafd58c3918622eca6063e643c6e6d86c86e170b4 |
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
11:47 $ kind build node-image | |
+++ [0731 11:47:52] Verifying Prerequisites.... | |
+++ [0731 11:47:53] Building Docker image kube-build:build-93593ef122-5-v1.12.5-1 | |
+++ [0731 11:49:39] Keeping image kube-build:build-93593ef122-5-v1.12.5-1 | |
+++ [0731 11:49:39] Creating data container kube-build-data-93593ef122-5-v1.12.5-1 | |
+++ [0731 11:50:03] Syncing sources to container | |
+++ [0731 11:50:03] Stopping any currently running rsyncd container | |
+++ [0731 11:50:04] Starting rsyncd container | |
+++ [0731 11:50:05] Running rsync | |
+++ [0731 11:50:07] Stopping any currently running rsyncd container |
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
12:16 $ kind build node-image --loglevel=debug | |
INFO[12:16:37] Starting to build Kubernetes | |
DEBU[12:16:37] Running: build/run.sh [build/run.sh make all WHAT=cmd/kubeadm cmd/kubectl cmd/kubelet KUBE_BUILD_PLATFORMS=linux/amd64 KUBE_VERBOSE=0] | |
+++ [0731 12:16:37] Verifying Prerequisites.... | |
+++ [0731 12:16:37] Building Docker image kube-build:build-aebf82a796-5-v1.12.7-1 | |
+++ [0731 12:16:39] Keeping container kube-build-data-aebf82a796-5-v1.12.7-1 | |
+++ [0731 12:16:39] Keeping container kube-build-data-93593ef122-5-v1.12.5-1 | |
+++ [0731 12:16:39] Keeping container kube-build-data-aebf82a796-5-v1.12.7-1 | |
+++ [0731 12:16:39] Keeping container kube-build-data-93593ef122-5-v1.12.5-1 | |
+++ [0731 12:16:39] Keeping container kube-build-data-aebf82a796-5-v1.12.7-1 |
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
kind create cluster --config kind.yaml --image=kindest/node:v1.14.9 | |
docker pull <yer image:tag> | |
kind load docker-image <yer image:tag> |
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: Pod | |
metadata: | |
creationTimestamp: null | |
labels: | |
run: name | |
name: name | |
spec: | |
containers: | |
- command: |
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
kind: Cluster | |
apiVersion: kind.sigs.k8s.io/v1alpha4 | |
kubeadmConfigPatches: | |
- | | |
apiVersion: kubelet.config.k8s.io/v1beta1 | |
kind: KubeletConfiguration | |
evictionHard: | |
nodefs.available: "0%" | |
- | | |
kind: ClusterConfiguration |