deploybot test

This commit is contained in:
2026-01-07 15:01:56 +01:00
commit 2c80425811
5 changed files with 54 additions and 0 deletions

Binary file not shown.

View File

@@ -0,0 +1,26 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
labels:
app: nginx
spec:
replicas: 2
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx-container
image: nginx:latest
volumeMounts:
- name: web-content-vol
mountPath: /usr/share/nginx/html
volumes:
- name: web-content-vol
configMap:
name: web-content

View File

@@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: helloworld-test
resources:
- deployment.yaml
- service.yaml
- web-content.yaml

View File

@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: nginx-svc
spec:
type: NodePort
selector:
app: nginx
ports:
- protocol: TCP
port: 80
targetPort: 80

View File

@@ -0,0 +1,7 @@
kind: ConfigMap
apiVersion: v1
metadata:
name: web-content
data:
"index.html": "Hello world app rev0\n"