mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-15 00:55:09 +01:00
things that dont work
This commit is contained in:
parent
860aac046a
commit
b5170d4b14
4 changed files with 60 additions and 5 deletions
|
|
@ -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
23
vps1/nginx-test.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue