Skip to content

Commit

Permalink
set up k8 to run on kube colo
Browse files Browse the repository at this point in the history
  • Loading branch information
tevydavid committed Nov 16, 2017
1 parent 58e4c6c commit 6dbc12b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
4 changes: 1 addition & 3 deletions config/k8/dep-go-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ spec:
labels:
app: go-links
spec:

containers:
- name: go-links-server
image: docker.liveramp.net:5000/go-links:latest
image: 609251445204.dkr.ecr.us-west-2.amazonaws.com/go-links:latest
imagePullPolicy: Always

resources:
limits:
memory: "512Mi"
Expand Down
17 changes: 9 additions & 8 deletions config/k8/service-go-links-service.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
kind: Service
apiVersion: "v1"
apiVersion: v1
metadata:
name: go-links-service
name: go-links
namespace: tupperware-test
labels:
app: go-links
spec:
type: NodePort
ports:
- name: http
port: 80
targetPort: 80
selector:
app: go-links
ports:
- protocol: TCP
port: 8080
nodePort: 31000
name: go-links-server

0 comments on commit 6dbc12b

Please sign in to comment.