Skip to content

Instantly share code, notes, and snippets.

@sbose78
Created September 22, 2018 06:25
Show Gist options
  • Save sbose78/5c4ad4e3fd2fea7efb4efb3849ecdea4 to your computer and use it in GitHub Desktop.
Save sbose78/5c4ad4e3fd2fea7efb4efb3849ecdea4 to your computer and use it in GitHub Desktop.
kind: List
items:
-
apiVersion: v1
kind: Pod
metadata:
name: mydevpod
annotations:
org.eclipse.che.container.main.machine_name: go-runtime
org.eclipse.che.container.main1.machine_name: db
spec:
containers:
-
image: eclipse/ubuntu_go
name: main
ports:
-
containerPort: 8080
protocol: TCP
resources:
limits:
memory: 3072Mi
-
image: 'registry.centos.org/postgresql/postgresql:9.6'
name: main1
env:
-
name: POSTGRESQL_ADMIN_PASSWORD
value: mysecretpassword
ports:
-
containerPort: 5432
protocol: TCP
resources:
limits:
memory: 3072Mi
resources:
limits:
memory: 2048Mi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment