--- apiVersion: v1 kind: Namespace metadata: name: fc-tenant-matt labels: app.kubernetes.io/part-of: bluejay-infra flowercore.io/tenant: matt --- apiVersion: v1 kind: ConfigMap metadata: name: matt-web-html namespace: fc-tenant-matt data: index.html: | matt.flowercore.io — Coming Soon
🔥

matt.flowercore.io

Matt

Building something extraordinary.

Under Construction
--- apiVersion: v1 kind: ConfigMap metadata: name: matt-web-nginx-conf namespace: fc-tenant-matt 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: matt-web namespace: fc-tenant-matt labels: app: matt-web spec: replicas: 1 selector: matchLabels: app: matt-web template: metadata: labels: app: matt-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: matt-web-nginx-conf } - name: html configMap: { name: matt-web-html } --- apiVersion: v1 kind: Service metadata: name: matt-web namespace: fc-tenant-matt spec: selector: app: matt-web ports: - port: 80 targetPort: 80 name: http