2020-08-11 18:43:56 +00:00
|
|
|
import * as pulumi from "@pulumi/pulumi";
|
|
|
|
import * as kubernetes from "@pulumi/kubernetes";
|
|
|
|
|
|
|
|
const argocd_serverDeployment = new kubernetes.apps.v1.Deployment("argocd_serverDeployment", {
|
|
|
|
apiVersion: "apps/v1",
|
|
|
|
kind: "Deployment",
|
|
|
|
metadata: {
|
|
|
|
name: "argocd-server",
|
|
|
|
},
|
|
|
|
spec: {
|
2021-06-24 16:17:55 +00:00
|
|
|
selector: {
|
|
|
|
matchLabels: {
|
|
|
|
app: "server",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
replicas: 1,
|
2020-08-11 18:43:56 +00:00
|
|
|
template: {
|
2021-06-24 16:17:55 +00:00
|
|
|
metadata: {
|
|
|
|
labels: {
|
|
|
|
app: "server",
|
|
|
|
},
|
|
|
|
},
|
2020-08-11 18:43:56 +00:00
|
|
|
spec: {
|
|
|
|
containers: [{
|
2021-06-24 16:17:55 +00:00
|
|
|
name: "nginx",
|
|
|
|
image: "nginx",
|
2020-08-11 18:43:56 +00:00
|
|
|
readinessProbe: {
|
|
|
|
httpGet: {
|
|
|
|
port: 8080,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|