diff --git a/generic/busybox-sleep.yaml b/generic/busybox-sleep.yaml new file mode 100644 index 0000000..d7cb8ee --- /dev/null +++ b/generic/busybox-sleep.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: Pod +metadata: + name: busybox-sleep +spec: + containers: + - name: busybox + image: busybox + args: + - sleep + - "1000000" + env: + - name: NICOTEST + value: "correct environment" diff --git a/generic/hostpath-test.yaml b/generic/hostpath-test.yaml new file mode 100644 index 0000000..a51c96a --- /dev/null +++ b/generic/hostpath-test.yaml @@ -0,0 +1,18 @@ +apiVersion: v1 +kind: Pod +metadata: + name: busybox-sleep +spec: + containers: + - name: busybox + image: busybox + args: + - sleep + - "1000000" + env: + - name: NICOTEST + value: "correct environment" + volumes: + - name: hostpathtest + hostPath: + path: /home diff --git a/v3-calico/README.md b/v3-calico/README.md index a51d865..1e2c936 100644 --- a/v3-calico/README.md +++ b/v3-calico/README.md @@ -137,3 +137,28 @@ anytime before you plan to schedule containers on them, after the **kubeadm join** request. **THIS is fixed if we use a kubeadm config file specifying the cgroupdriver**. + +## Calico notes + +Requires + +``` +mount --make-shared /sys +``` + +## Kubevirt nodes + +Requires + +``` +mount --make-shared / +``` + +## Manual / post boot changes for place7-v2 cluster + +``` +mount --make-shared / +mount --make-shared /sys +sysctl net.ipv6.conf.eth0.accept_ra=2 + +``` diff --git a/v3-calico/bgp-place7-v2.yaml b/v3-calico/bgp-place7-v2.yaml new file mode 100644 index 0000000..0697737 --- /dev/null +++ b/v3-calico/bgp-place7-v2.yaml @@ -0,0 +1,21 @@ +--- +apiVersion: projectcalico.org/v3 +kind: BGPConfiguration +metadata: + name: default +spec: + logSeverityScreen: Info + nodeToNodeMeshEnabled: true + asNumber: 65534 + serviceClusterIPs: + - cidr: 2a0a:e5c0:13:e2::/108 + serviceExternalIPs: + - cidr: 2a0a:e5c0:13:e2::/108 +--- +apiVersion: projectcalico.org/v3 +kind: BGPPeer +metadata: + name: red-place7 +spec: + peerIP: 2a0a:e5c0:13::42 + asNumber: 213081