Skip to main content

Kubernetes yaml

  • Service based on kubernetes yaml file (in case if you can create a yaml configuration for kubernetes cluster manually from scratch)

Service based on kubernetes yaml

Just type your YAML here.

Service based on kubernetes yaml

For example:

apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
selector:
matchLabels:
app: nginx
replicas: 1
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80