Skip to content

Instantly share code, notes, and snippets.

@paulbrodner
Last active August 6, 2020 05:52
Show Gist options
  • Select an option

  • Save paulbrodner/90353f93b60661c3762b50dfb9a9539b to your computer and use it in GitHub Desktop.

Select an option

Save paulbrodner/90353f93b60661c3762b50dfb9a9539b to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: DeploymentConfig
metadata:
name: hello-world-app
spec:
replicas: 1
selector:
deploymentconfig: hello-world-app
strategy:
type: Recreate
template:
metadata:
labels:
deploymentconfig: hello-world-app
spec:
containers:
- image: paulbrodner/hello-world-app
name: hello-world-app
ports:
- containerPort: 8080
protocol: TCP
tolerations:
- key: "tc"
operator: "Equal"
value: "performance-testing"
effect: "NoExecute"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment