17 lines
255 B
YAML
17 lines
255 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: registry
|
|
labels:
|
|
app: registry
|
|
spec:
|
|
containers:
|
|
- name: registry
|
|
image: registry:2
|
|
env:
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 5000
|
|
hostPort: 5000
|
|
|