Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: v1
- kind: Pod
- metadata:
- name: secchipod
- labels:
- app: secchi
- spec:
- containers:
- - name: secchi-api
- image: davidcrotty/grape-kubernetes
- command: ["bundle", "exec", "rackup", "-o", "0.0.0.0", "-p", "9090"]
- ---
- kind: Service
- apiVersion: v1
- metadata:
- name: exposedport
- spec:
- type: LoadBalancer
- ports:
- - port: 80
- targetPort: 9090 # The port to target on the container
- selector:
- app: secchi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement