Files
hermes-mcp/docs/docs-k8s.yaml

66 lines
1.4 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: squaremcp-docs
namespace: fetcherpay
spec:
replicas: 1
selector:
matchLabels:
app: squaremcp-docs
template:
metadata:
labels:
app: squaremcp-docs
spec:
containers:
- name: squaremcp-docs
image: localhost:32000/squaremcp-docs@sha256:762051a6eeadc6a95d22816f3495a567a85ebe955f32189dda5c0346ae427687
imagePullPolicy: Always
ports:
- containerPort: 80
readinessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 3
periodSeconds: 10
---
apiVersion: v1
kind: Service
metadata:
name: squaremcp-docs
namespace: fetcherpay
spec:
selector:
app: squaremcp-docs
ports:
- protocol: TCP
port: 80
targetPort: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: squaremcp-docs-ingress
namespace: fetcherpay
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
ingressClassName: nginx
rules:
- host: docs.squaremcp.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: squaremcp-docs
port:
number: 80
tls:
- hosts:
- docs.squaremcp.com
secretName: squaremcp-docs-tls