things that dont work

This commit is contained in:
nora 2024-02-05 21:46:44 +01:00
parent 860aac046a
commit b5170d4b14
4 changed files with 60 additions and 5 deletions

View file

@ -2,6 +2,8 @@ kind: ClusterConfiguration
apiVersion: kubeadm.k8s.io/v1beta3
kubernetesVersion: v1.29.0
controlPlaneEndpoint: k8s-control.nilstrieb.dev
networking:
podSubnet: "10.244.0.0/16" # --pod-network-cidr
---
kind: KubeletConfiguration
apiVersion: kubelet.config.k8s.io/v1beta1

23
vps1/nginx-test.yaml Normal file
View file

@ -0,0 +1,23 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
selector:
matchLabels:
app: nginx
replicas: 2
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx
resources:
limits:
memory: "128Mi"
cpu: "500m"
ports:
- containerPort: 80