This commit is contained in:
Nico Schottelius 2021-06-16 01:20:59 +02:00
parent 5198193607
commit 39e28a40c1
5 changed files with 62 additions and 39 deletions

60
FLOW.md Normal file
View file

@ -0,0 +1,60 @@
## Creating a service or VM
### Service
- have kustomized manifests
- creates IPv6 only, probably certificate enabled service
- external (???) proxy
- internal: could have a mapped IPv4 address
- pvc for storage
- rbd vs cephfs decision in general + per use case
### External/other DNS
- needs to be pointed to the service IP
- kustomized manifests need to be updated/annotated ("also this
domain")
## Service List
### DNS servers
- bind / knot
- authoritatitve
- files in cephfs?
- IPv4 from outside (jool)?
### Matrix
### Django
- moving sample site(s)
- f.i. ula registry
### Etherpad
- cephfs based pvc
### wireguard
- via mapped IPv4 for outside
- via routing -- might be able to includ bird (?)
- network mapping in kustomize, later netbox api?
- peers in configmap (?)
### Nextcloud
- pvc -> cephfs, s3, rbd?
- need to test resize
### IPv4
- can we use a crd/operator for this?
- Jool inside cluster
- Routed /24 or similar
- Distribution based on label(s) to pods/services
- Maybe using an ingress (+IPv4)
## Clusters
- Distributed over places?

View file

@ -105,6 +105,5 @@ the cluster. So we need to set one of them, if persistentvolumeclaims
should be deployed:
```
[21:22] server47.place7:~/ungleich-k8s/rook# kubectl patch storageclass rook-ceph-block -p '{"metadata": {"annotations":{"stor
ageclass.kubernetes.io/is-default-class":"true"}}}'
[21:22] server47.place7:~/ungleich-k8s/rook# kubectl patch storageclass rook-ceph-block -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
```

View file

@ -1,24 +0,0 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: pvc-multitest-cephfs
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 200Mi
storageClassName: rook-cephfs
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: pvc-multitest-rbd
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 200Mi
storageClassName: rook-ceph-block

View file

@ -1,12 +0,0 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: rbd-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: rook-ceph-block

View file

@ -109,7 +109,7 @@ kubectl apply -f nginx-test-deployment.yaml
Based on https://kubevirt.io/user-guide/operations/installation/:
```
export RELEASE=v0.41.0
export RELEASE=v0.42.1
# Deploy the KubeVirt operator
kubectl apply -f https://github.com/kubevirt/kubevirt/releases/download/${RELEASE}/kubevirt-operator.yaml
# Create the KubeVirt CR (instance deployment request) which triggers the actual installation