mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 21:25:09 +00:00
Merge pull request #16911 from mesosphere/sttts-fix-cluster-dns-images
Auto commit by PR queue bot
This commit is contained in:
@@ -15,7 +15,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: dns-backend
|
||||
image: ddysher/dns-backend
|
||||
image: gcr.io/google_containers/example-dns-backend:v1
|
||||
ports:
|
||||
- name: backend-port
|
||||
containerPort: 8000
|
||||
|
@@ -7,7 +7,7 @@ metadata:
|
||||
spec:
|
||||
containers:
|
||||
- name: dns-frontend
|
||||
image: ddysher/dns-frontend
|
||||
image: gcr.io/google_containers/example-dns-frontend:v1
|
||||
command:
|
||||
- python
|
||||
- client.py
|
||||
|
@@ -1,4 +1,4 @@
|
||||
FROM python:2.7
|
||||
FROM python:2.7-slim
|
||||
|
||||
COPY . /dns-backend
|
||||
WORKDIR /dns-backend
|
||||
|
13
examples/cluster-dns/images/backend/Makefile
Normal file
13
examples/cluster-dns/images/backend/Makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
TAG = v1
|
||||
PREFIX = gcr.io/google_containers
|
||||
IMAGE = example-dns-backend
|
||||
|
||||
all: push
|
||||
|
||||
image:
|
||||
docker build -t $(PREFIX)/$(IMAGE):$(TAG) .
|
||||
|
||||
push: image
|
||||
gcloud docker push $(PREFIX)/$(IMAGE)
|
||||
|
||||
clean:
|
@@ -1,4 +1,4 @@
|
||||
FROM python:2.7
|
||||
FROM python:2.7-slim
|
||||
|
||||
RUN pip install requests
|
||||
|
||||
|
13
examples/cluster-dns/images/frontend/Makefile
Normal file
13
examples/cluster-dns/images/frontend/Makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
TAG = v1
|
||||
PREFIX = gcr.io/google_containers
|
||||
IMAGE = example-dns-frontend
|
||||
|
||||
all: push
|
||||
|
||||
image:
|
||||
docker build -t $(PREFIX)/$(IMAGE):$(TAG) .
|
||||
|
||||
push: image
|
||||
gcloud docker push $(PREFIX)/$(IMAGE)
|
||||
|
||||
clean:
|
Reference in New Issue
Block a user