--- apiVersion: v1 kind: Namespace metadata: name: fc-tenant-andrew labels: app.kubernetes.io/part-of: bluejay-infra flowercore.io/tenant: andrew --- apiVersion: v1 kind: ConfigMap metadata: name: andrew-web-html namespace: fc-tenant-andrew data: index.html: | Blue Jay — bluejay.dev
Andrew's Space
🐦

Blue Jay

bluejay.dev

Coming Soon

--- apiVersion: v1 kind: ConfigMap metadata: name: andrew-web-nginx-conf namespace: fc-tenant-andrew data: default.conf: | server { listen 80; server_name _; root /usr/share/nginx/html; index index.html; location / { try_files $uri $uri/ =404; } location /healthz { access_log off; return 200 "ok"; add_header Content-Type text/plain; } } --- apiVersion: apps/v1 kind: Deployment metadata: name: andrew-web namespace: fc-tenant-andrew labels: app: andrew-web spec: replicas: 1 selector: matchLabels: app: andrew-web template: metadata: labels: app: andrew-web spec: containers: - name: nginx image: nginx:alpine ports: - containerPort: 80 name: http volumeMounts: - name: nginx-conf mountPath: /etc/nginx/conf.d/default.conf subPath: default.conf - name: html mountPath: /usr/share/nginx/html resources: requests: { memory: 32Mi, cpu: 10m } limits: { memory: 64Mi, cpu: 50m } livenessProbe: httpGet: { path: /healthz, port: 80 } initialDelaySeconds: 5 periodSeconds: 10 readinessProbe: httpGet: { path: /healthz, port: 80 } initialDelaySeconds: 3 periodSeconds: 5 volumes: - name: nginx-conf configMap: { name: andrew-web-nginx-conf } - name: html configMap: { name: andrew-web-html } --- apiVersion: v1 kind: Service metadata: name: andrew-web namespace: fc-tenant-andrew spec: selector: app: andrew-web ports: - port: 80 targetPort: 80 name: http