gx10-gitops: capture live manifests for 32 product namespaces (ArgoCD adoption source)
This commit is contained in:
242
apps-gx10/fc-media/deployment-fc-media-web.json
Normal file
242
apps-gx10/fc-media/deployment-fc-media-web.json
Normal file
@@ -0,0 +1,242 @@
|
||||
{
|
||||
"apiVersion": "apps/v1",
|
||||
"kind": "Deployment",
|
||||
"metadata": {
|
||||
"labels": {
|
||||
"app": "fc-media-web",
|
||||
"app.kubernetes.io/name": "fc-media-web",
|
||||
"app.kubernetes.io/part-of": "flowercore"
|
||||
},
|
||||
"name": "fc-media-web",
|
||||
"namespace": "fc-media"
|
||||
},
|
||||
"spec": {
|
||||
"progressDeadlineSeconds": 600,
|
||||
"replicas": 1,
|
||||
"revisionHistoryLimit": 10,
|
||||
"selector": {
|
||||
"matchLabels": {
|
||||
"app": "fc-media-web"
|
||||
}
|
||||
},
|
||||
"strategy": {
|
||||
"type": "Recreate"
|
||||
},
|
||||
"template": {
|
||||
"metadata": {
|
||||
"annotations": {
|
||||
"flowercore.io/healthz-auth-policy": "allow-anonymous",
|
||||
"kubectl.kubernetes.io/restartedAt": "2026-04-05T14:14:28-05:00",
|
||||
"prometheus.io/path": "/metrics",
|
||||
"prometheus.io/port": "5200",
|
||||
"prometheus.io/scrape": "true"
|
||||
},
|
||||
"labels": {
|
||||
"app": "fc-media-web",
|
||||
"app.kubernetes.io/name": "fc-media-web",
|
||||
"app.kubernetes.io/part-of": "flowercore"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"containers": [
|
||||
{
|
||||
"env": [
|
||||
{
|
||||
"name": "ASPNETCORE_ENVIRONMENT",
|
||||
"value": "Production"
|
||||
},
|
||||
{
|
||||
"name": "ASPNETCORE_URLS",
|
||||
"value": "http://+:5200"
|
||||
},
|
||||
{
|
||||
"name": "FlowerCore__Auth__Enabled",
|
||||
"value": "true"
|
||||
},
|
||||
{
|
||||
"name": "FlowerCore__Auth__Oidc__Enabled",
|
||||
"value": "true"
|
||||
},
|
||||
{
|
||||
"name": "FlowerCore__Auth__Oidc__Audience",
|
||||
"value": "media"
|
||||
},
|
||||
{
|
||||
"name": "FlowerCore__Auth__Oidc__ClientId",
|
||||
"valueFrom": {
|
||||
"secretKeyRef": {
|
||||
"key": "client_id",
|
||||
"name": "media-oidc-client",
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "FlowerCore__Auth__Oidc__ClientSecret",
|
||||
"valueFrom": {
|
||||
"secretKeyRef": {
|
||||
"key": "client_secret",
|
||||
"name": "media-oidc-client",
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "FlowerCore__Auth__Oidc__Authority",
|
||||
"valueFrom": {
|
||||
"secretKeyRef": {
|
||||
"key": "issuer_url",
|
||||
"name": "media-oidc-client",
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"image": "localhost/fc-media-web:gx10-v1",
|
||||
"imagePullPolicy": "Never",
|
||||
"livenessProbe": {
|
||||
"failureThreshold": 3,
|
||||
"httpGet": {
|
||||
"httpHeaders": [
|
||||
{
|
||||
"name": "X-Forwarded-Proto",
|
||||
"value": "https"
|
||||
}
|
||||
],
|
||||
"path": "/healthz",
|
||||
"port": 5200,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"initialDelaySeconds": 30,
|
||||
"periodSeconds": 30,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 1
|
||||
},
|
||||
"name": "fc-media-web",
|
||||
"ports": [
|
||||
{
|
||||
"containerPort": 5200,
|
||||
"name": "http",
|
||||
"protocol": "TCP"
|
||||
}
|
||||
],
|
||||
"readinessProbe": {
|
||||
"failureThreshold": 3,
|
||||
"httpGet": {
|
||||
"httpHeaders": [
|
||||
{
|
||||
"name": "X-Forwarded-Proto",
|
||||
"value": "https"
|
||||
}
|
||||
],
|
||||
"path": "/healthz",
|
||||
"port": 5200,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"initialDelaySeconds": 5,
|
||||
"periodSeconds": 10,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 1
|
||||
},
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "4",
|
||||
"memory": "4Gi"
|
||||
},
|
||||
"requests": {
|
||||
"cpu": "500m",
|
||||
"memory": "1Gi"
|
||||
}
|
||||
},
|
||||
"startupProbe": {
|
||||
"failureThreshold": 18,
|
||||
"httpGet": {
|
||||
"httpHeaders": [
|
||||
{
|
||||
"name": "X-Forwarded-Proto",
|
||||
"value": "https"
|
||||
}
|
||||
],
|
||||
"path": "/healthz",
|
||||
"port": 5200,
|
||||
"scheme": "HTTP"
|
||||
},
|
||||
"periodSeconds": 10,
|
||||
"successThreshold": 1,
|
||||
"timeoutSeconds": 1
|
||||
},
|
||||
"terminationMessagePath": "/dev/termination-log",
|
||||
"terminationMessagePolicy": "File",
|
||||
"volumeMounts": [
|
||||
{
|
||||
"mountPath": "/app/appsettings.Production.json",
|
||||
"name": "config",
|
||||
"readOnly": true,
|
||||
"subPath": "appsettings.Production.json"
|
||||
},
|
||||
{
|
||||
"mountPath": "/data",
|
||||
"name": "data"
|
||||
},
|
||||
{
|
||||
"mountPath": "/data/transcodes",
|
||||
"name": "transcodes"
|
||||
},
|
||||
{
|
||||
"mountPath": "/media/library",
|
||||
"name": "media-library",
|
||||
"readOnly": true
|
||||
},
|
||||
{
|
||||
"mountPath": "/media/inbox",
|
||||
"name": "media-inbox"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"dnsPolicy": "ClusterFirst",
|
||||
"restartPolicy": "Always",
|
||||
"schedulerName": "default-scheduler",
|
||||
"securityContext": {},
|
||||
"terminationGracePeriodSeconds": 30,
|
||||
"volumes": [
|
||||
{
|
||||
"configMap": {
|
||||
"defaultMode": 420,
|
||||
"name": "fc-media-config"
|
||||
},
|
||||
"name": "config"
|
||||
},
|
||||
{
|
||||
"name": "data",
|
||||
"persistentVolumeClaim": {
|
||||
"claimName": "fc-media-data"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "transcodes",
|
||||
"nfs": {
|
||||
"path": "/volume1/kubernetes/fc-media-transcodes",
|
||||
"server": "10.0.58.3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "media-inbox",
|
||||
"nfs": {
|
||||
"path": "/volume1/kubernetes/fc-media-inbox",
|
||||
"server": "10.0.58.3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "media-library",
|
||||
"nfs": {
|
||||
"path": "/volume1/video",
|
||||
"readOnly": true,
|
||||
"server": "10.0.58.3"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user