Merge branch 'master' of code.ungleich.ch:ungleich-public/ungleich-k8s

This commit is contained in:
Nico Schottelius 2021-06-04 19:22:11 +02:00
commit 4a6ea20c35
4 changed files with 78 additions and 0 deletions

View file

@ -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"

View file

@ -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

View file

@ -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
```

View file

@ -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