gx10-gitops: capture live manifests for 32 product namespaces (ArgoCD adoption source)
This commit is contained in:
183
apps-gx10/fc-devicemgmt/deployment-fc-devicemgmt-operator.json
Normal file
183
apps-gx10/fc-devicemgmt/deployment-fc-devicemgmt-operator.json
Normal file
@@ -0,0 +1,183 @@
|
||||
{
|
||||
"apiVersion": "apps/v1",
|
||||
"kind": "Deployment",
|
||||
"metadata": {
|
||||
"labels": {
|
||||
"app": "fc-devicemgmt-operator",
|
||||
"app.kubernetes.io/component": "operator",
|
||||
"app.kubernetes.io/managed-by": "argocd",
|
||||
"app.kubernetes.io/name": "fc-devicemgmt-operator",
|
||||
"app.kubernetes.io/part-of": "flowercore",
|
||||
"flowercore.io/created-by": "bluejay-infra",
|
||||
"flowercore.io/tenant-id": "system"
|
||||
},
|
||||
"name": "fc-devicemgmt-operator",
|
||||
"namespace": "fc-devicemgmt"
|
||||
},
|
||||
"spec": {
|
||||
"progressDeadlineSeconds": 600,
|
||||
"replicas": 1,
|
||||
"revisionHistoryLimit": 3,
|
||||
"selector": {
|
||||
"matchLabels": {
|
||||
"app": "fc-devicemgmt-operator"
|
||||
}
|
||||
},
|
||||
"strategy": {
|
||||
"rollingUpdate": {
|
||||
"maxSurge": "25%",
|
||||
"maxUnavailable": "25%"
|
||||
},
|
||||
"type": "RollingUpdate"
|
||||
},
|
||||
"template": {
|
||||
"metadata": {
|
||||
"annotations": {
|
||||
"flowercore.io/audit-trace-id": "runtime-activity-trace",
|
||||
"prometheus.io/path": "/metrics",
|
||||
"prometheus.io/port": "8080",
|
||||
"prometheus.io/scrape": "true"
|
||||
},
|
||||
"labels": {
|
||||
"app": "fc-devicemgmt-operator",
|
||||
"app.kubernetes.io/component": "operator",
|
||||
"app.kubernetes.io/managed-by": "argocd",
|
||||
"app.kubernetes.io/name": "fc-devicemgmt-operator",
|
||||
"app.kubernetes.io/part-of": "flowercore",
|
||||
"flowercore.io/created-by": "bluejay-infra",
|
||||
"flowercore.io/tenant-id": "system"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"containers": [
|
||||
{
|
||||
"env": [
|
||||
{
|
||||
"name": "ASPNETCORE_ENVIRONMENT",
|
||||
"value": "Production"
|
||||
},
|
||||
{
|
||||
"name": "DOTNET_SYSTEM_GLOBALIZATION_INVARIANT",
|
||||
"value": "false"
|
||||
},
|
||||
{
|
||||
"name": "POD_NAME",
|
||||
"valueFrom": {
|
||||
"fieldRef": {
|
||||
"apiVersion": "v1",
|
||||
"fieldPath": "metadata.name"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "POD_NAMESPACE",
|
||||
"valueFrom": {
|
||||
"fieldRef": {
|
||||
"apiVersion": "v1",
|
||||
"fieldPath": "metadata.namespace"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "FLOWERCORE_KUBERNETES_OWNER_DEPLOYMENT",
|
||||
"value": "fc-devicemgmt-operator"
|
||||
},
|
||||
{
|
||||
"name": "FlowerCore__Service__Name",
|
||||
"value": "FlowerCore.DeviceManagement.Operator"
|
||||
},
|
||||
{
|
||||
"name": "FlowerCore__DeviceManagement__DefaultTenantId",
|
||||
"value": "system"
|
||||
}
|
||||
],
|
||||
"image": "localhost/fc-devicemgmt-operator:gx10-v1",
|
||||
"imagePullPolicy": "IfNotPresent",
|
||||
"livenessProbe": {
|
||||
"failureThreshold": 3,
|
||||
"initialDelaySeconds": 20,
|
||||
"periodSeconds": 30,
|
||||
"successThreshold": 1,
|
||||
"tcpSocket": {
|
||||
"port": 8080
|
||||
},
|
||||
"timeoutSeconds": 1
|
||||
},
|
||||
"name": "operator",
|
||||
"ports": [
|
||||
{
|
||||
"containerPort": 8080,
|
||||
"name": "metrics",
|
||||
"protocol": "TCP"
|
||||
}
|
||||
],
|
||||
"readinessProbe": {
|
||||
"failureThreshold": 3,
|
||||
"initialDelaySeconds": 5,
|
||||
"periodSeconds": 10,
|
||||
"successThreshold": 1,
|
||||
"tcpSocket": {
|
||||
"port": 8080
|
||||
},
|
||||
"timeoutSeconds": 1
|
||||
},
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "500m",
|
||||
"memory": "512Mi"
|
||||
},
|
||||
"requests": {
|
||||
"cpu": "50m",
|
||||
"memory": "128Mi"
|
||||
}
|
||||
},
|
||||
"securityContext": {
|
||||
"allowPrivilegeEscalation": false,
|
||||
"capabilities": {
|
||||
"drop": [
|
||||
"ALL"
|
||||
]
|
||||
},
|
||||
"readOnlyRootFilesystem": true,
|
||||
"runAsGroup": 1654,
|
||||
"runAsNonRoot": true,
|
||||
"runAsUser": 1654
|
||||
},
|
||||
"terminationMessagePath": "/dev/termination-log",
|
||||
"terminationMessagePolicy": "File",
|
||||
"volumeMounts": [
|
||||
{
|
||||
"mountPath": "/tmp",
|
||||
"name": "tmp"
|
||||
},
|
||||
{
|
||||
"mountPath": "/app/logs",
|
||||
"name": "logs"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"dnsPolicy": "ClusterFirst",
|
||||
"restartPolicy": "Always",
|
||||
"schedulerName": "default-scheduler",
|
||||
"securityContext": {
|
||||
"fsGroup": 1654,
|
||||
"fsGroupChangePolicy": "OnRootMismatch"
|
||||
},
|
||||
"serviceAccount": "fc-devicemgmt-operator",
|
||||
"serviceAccountName": "fc-devicemgmt-operator",
|
||||
"terminationGracePeriodSeconds": 30,
|
||||
"volumes": [
|
||||
{
|
||||
"emptyDir": {},
|
||||
"name": "tmp"
|
||||
},
|
||||
{
|
||||
"emptyDir": {},
|
||||
"name": "logs"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user