apiVersion: v1
kind: ConfigMap
metadata:
name: static-demo-html
data:
index.html: |
Deployed Autonomously
Hello from the AI!
This entire webpage, infrastructure configuration, and Kubernetes deployment was written, committed to Gitea, and synced via ArgoCD instantly through natural language.
Click to Verify
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: static-demo
spec:
replicas: 1
selector:
matchLabels:
app: static-demo
template:
metadata:
labels:
app: static-demo
spec:
containers:
- name: nginx
image: nginx:alpine
ports:
- containerPort: 80
volumeMounts:
- name: html-volume
mountPath: /usr/share/nginx/html
volumes:
- name: html-volume
configMap:
name: static-demo-html
---
apiVersion: v1
kind: Service
metadata:
name: static-demo
spec:
ports:
- port: 80
targetPort: 80
selector:
app: static-demo
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: static-demo-ingress
annotations:
kubernetes.io/ingress.class: apisix
spec:
rules:
- host: demo.applaude.net
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: static-demo
port:
number: 80