mirror of https://github.com/pulumi/pulumi.git
34 lines
820 B
Python
34 lines
820 B
Python
import pulumi
|
|
import pulumi_kubernetes as kubernetes
|
|
|
|
argocd_server_deployment = kubernetes.apps.v1.Deployment("argocd_serverDeployment",
|
|
api_version="apps/v1",
|
|
kind="Deployment",
|
|
metadata={
|
|
"name": "argocd-server",
|
|
},
|
|
spec={
|
|
"selector": {
|
|
"match_labels": {
|
|
"app": "server",
|
|
},
|
|
},
|
|
"replicas": 1,
|
|
"template": {
|
|
"metadata": {
|
|
"labels": {
|
|
"app": "server",
|
|
},
|
|
},
|
|
"spec": {
|
|
"containers": [{
|
|
"name": "nginx",
|
|
"image": "nginx",
|
|
"ports": [{
|
|
"container_port": 80,
|
|
}],
|
|
}],
|
|
},
|
|
},
|
|
})
|