gx10-gitops: capture live manifests for 32 product namespaces (ArgoCD adoption source)
This commit is contained in:
133
apps-gx10/fc-signalcontrol/deployment-signalcontrol-web.json
Normal file
133
apps-gx10/fc-signalcontrol/deployment-signalcontrol-web.json
Normal file
@@ -0,0 +1,133 @@
|
||||
{
|
||||
"apiVersion": "apps/v1",
|
||||
"kind": "Deployment",
|
||||
"metadata": {
|
||||
"labels": {
|
||||
"app.kubernetes.io/name": "signalcontrol-web",
|
||||
"app.kubernetes.io/part-of": "flowercore"
|
||||
},
|
||||
"name": "signalcontrol-web",
|
||||
"namespace": "fc-signalcontrol"
|
||||
},
|
||||
"spec": {
|
||||
"progressDeadlineSeconds": 600,
|
||||
"replicas": 1,
|
||||
"revisionHistoryLimit": 10,
|
||||
"selector": {
|
||||
"matchLabels": {
|
||||
"app.kubernetes.io/name": "signalcontrol-web"
|
||||
}
|
||||
},
|
||||
"strategy": {
|
||||
"type": "Recreate"
|
||||
},
|
||||
"template": {
|
||||
"metadata": {
|
||||
"annotations": {
|
||||
"kubectl.kubernetes.io/restartedAt": "2026-04-22T23:55:51-05:00"
|
||||
},
|
||||
"labels": {
|
||||
"app.kubernetes.io/name": "signalcontrol-web",
|
||||
"app.kubernetes.io/part-of": "flowercore"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"containers": [
|
||||
{
|
||||
"env": [
|
||||
{
|
||||
"name": "ASPNETCORE_ENVIRONMENT",
|
||||
"value": "Production"
|
||||
},
|
||||
{
|
||||
"name": "ASPNETCORE_URLS",
|
||||
"value": "http://+:5000"
|
||||
},
|
||||
{
|
||||
"name": "ConnectionStrings__Default",
|
||||
"value": "Data Source=/data/signalcontrol.db"
|
||||
},
|
||||
{
|
||||
"name": "Logging__LogLevel__Default",
|
||||
"value": "Information"
|
||||
},
|
||||
{
|
||||
"name": "Auth__ApiKey",
|
||||
"valueFrom": {
|
||||
"secretKeyRef": {
|
||||
"key": "Auth__ApiKey",
|
||||
"name": "signalcontrol-auth"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"image": "localhost/fc-signalcontrol-web:gx10-v1",
|
||||
"imagePullPolicy": "Never",
|
||||
"livenessProbe": {
|
||||
"failureThreshold": 3,
|
||||
"initialDelaySeconds": 30,
|
||||
"periodSeconds": 30,
|
||||
"successThreshold": 1,
|
||||
"tcpSocket": {
|
||||
"port": "http"
|
||||
},
|
||||
"timeoutSeconds": 5
|
||||
},
|
||||
"name": "signalcontrol-web",
|
||||
"ports": [
|
||||
{
|
||||
"containerPort": 5000,
|
||||
"name": "http",
|
||||
"protocol": "TCP"
|
||||
}
|
||||
],
|
||||
"readinessProbe": {
|
||||
"failureThreshold": 6,
|
||||
"initialDelaySeconds": 10,
|
||||
"periodSeconds": 10,
|
||||
"successThreshold": 1,
|
||||
"tcpSocket": {
|
||||
"port": "http"
|
||||
},
|
||||
"timeoutSeconds": 5
|
||||
},
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "500m",
|
||||
"memory": "512Mi"
|
||||
},
|
||||
"requests": {
|
||||
"cpu": "100m",
|
||||
"memory": "128Mi"
|
||||
}
|
||||
},
|
||||
"terminationMessagePath": "/dev/termination-log",
|
||||
"terminationMessagePolicy": "File",
|
||||
"volumeMounts": [
|
||||
{
|
||||
"mountPath": "/data",
|
||||
"name": "data"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"dnsPolicy": "ClusterFirst",
|
||||
"restartPolicy": "Always",
|
||||
"schedulerName": "default-scheduler",
|
||||
"securityContext": {
|
||||
"fsGroup": 4200,
|
||||
"fsGroupChangePolicy": "OnRootMismatch"
|
||||
},
|
||||
"terminationGracePeriodSeconds": 30,
|
||||
"volumes": [
|
||||
{
|
||||
"name": "data",
|
||||
"persistentVolumeClaim": {
|
||||
"claimName": "signalcontrol-data"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"apiVersion": "traefik.io/v1alpha1",
|
||||
"kind": "IngressRoute",
|
||||
"metadata": {
|
||||
"name": "signalcontrol-web",
|
||||
"namespace": "fc-signalcontrol"
|
||||
},
|
||||
"spec": {
|
||||
"entryPoints": [
|
||||
"websecure"
|
||||
],
|
||||
"routes": [
|
||||
{
|
||||
"kind": "Rule",
|
||||
"match": "Host(`signalcontrol.iamworkin.lan`)",
|
||||
"priority": 100,
|
||||
"services": [
|
||||
{
|
||||
"name": "signalcontrol-web",
|
||||
"port": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"tls": {
|
||||
"secretName": "signalcontrol-web-tls"
|
||||
}
|
||||
}
|
||||
}
|
||||
28
apps-gx10/fc-signalcontrol/service-signalcontrol-web.json
Normal file
28
apps-gx10/fc-signalcontrol/service-signalcontrol-web.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"apiVersion": "v1",
|
||||
"kind": "Service",
|
||||
"metadata": {
|
||||
"labels": {
|
||||
"app.kubernetes.io/name": "signalcontrol-web",
|
||||
"app.kubernetes.io/part-of": "flowercore"
|
||||
},
|
||||
"name": "signalcontrol-web",
|
||||
"namespace": "fc-signalcontrol"
|
||||
},
|
||||
"spec": {
|
||||
"internalTrafficPolicy": "Cluster",
|
||||
"ports": [
|
||||
{
|
||||
"name": "http",
|
||||
"port": 80,
|
||||
"protocol": "TCP",
|
||||
"targetPort": "http"
|
||||
}
|
||||
],
|
||||
"selector": {
|
||||
"app.kubernetes.io/name": "signalcontrol-web"
|
||||
},
|
||||
"sessionAffinity": "None",
|
||||
"type": "ClusterIP"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user