--- apiVersion: v1 kind: Namespace metadata: name: fc-tenant-fit labels: app.kubernetes.io/part-of: bluejay-infra flowercore.io/tenant: fit --- apiVersion: v1 kind: ConfigMap metadata: name: fit-web-html namespace: fc-tenant-fit data: index.html: | Flower Insider — flowerinsider.xyz
Flower Insider Team
🌸

Flower Insider

flowerinsider.xyz

Coming Soon

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