Skip to content

Instantly share code, notes, and snippets.

@matthewpalmer
Created August 20, 2018 06:01
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save matthewpalmer/d1147ed1066e9219e8c346f4e0dd0488 to your computer and use it in GitHub Desktop.
Save matthewpalmer/d1147ed1066e9219e8c346f4e0dd0488 to your computer and use it in GitHub Desktop.
kind: Pod
apiVersion: v1
metadata:
name: apple-app
labels:
app: apple
spec:
containers:
- name: apple-app
image: hashicorp/http-echo
args:
- "-text=apple"
---
kind: Service
apiVersion: v1
metadata:
name: apple-service
spec:
selector:
app: apple
ports:
- port: 5678 # Default port for image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment