mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 05:36:12 +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:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: dns-backend
|
- name: dns-backend
|
||||||
image: ddysher/dns-backend
|
image: gcr.io/google_containers/example-dns-backend:v1
|
||||||
ports:
|
ports:
|
||||||
- name: backend-port
|
- name: backend-port
|
||||||
containerPort: 8000
|
containerPort: 8000
|
||||||
|
@@ -7,7 +7,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: dns-frontend
|
- name: dns-frontend
|
||||||
image: ddysher/dns-frontend
|
image: gcr.io/google_containers/example-dns-frontend:v1
|
||||||
command:
|
command:
|
||||||
- python
|
- python
|
||||||
- client.py
|
- client.py
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM python:2.7
|
FROM python:2.7-slim
|
||||||
|
|
||||||
COPY . /dns-backend
|
COPY . /dns-backend
|
||||||
WORKDIR /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
|
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