Kubernetes manifest
applied with kubectl
apiVersion: apps/v1
kind: Deployment
metadata:
name: countries-three-tier-api
namespace: ns-quebec-01-6kf9r
spec:
replicas: 1
selector:
matchLabels:
app: countries-three-tier-api
template:
metadata:
labels:
app: countries-three-tier-api
spec:
containers:
- name: api
image: postgrest/postgrest:v12.2.3
VCFA blueprint YAML
deployed through VCFA
formatVersion: 1
resources:
CanadaNamespace:
type: CCI.Supervisor.Namespace
properties:
name: ns-quebec-01-6kf9r
existing: true
ApiDeployment:
type: CCI.Supervisor.Resource
properties:
context: ${resource.CanadaNamespace.id}
manifest:
apiVersion: apps/v1
kind: Deployment
metadata:
name: canada-three-tier-api-${env.shortDeploymentId}
spec:
replicas: 1