1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/tomsun28-usthe

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
usthe.yaml 637
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
tomsun28 Отправлено 30.12.2018 11:47 c073456
# ----------------------usthe--------------------- #
# ------usthe deployment------ #
kind: Deployment
apiVersion: apps/v1beta2
metadata:
name: usthe-deployment
labels:
app: usthe
spec:
replicas: 1
selector:
matchLabels:
app: usthe
template:
metadata:
labels:
app: usthe
spec:
containers:
- name: nginx
image: registry.cn-hangzhou.aliyuncs.com/tomsun28/usthe:latest
ports:
- containerPort: 80
---
# -------usthe-service--------- #
apiVersion: v1
kind: Service
metadata:
name: usthe-service
spec:
# type: NodePort
ports:
- name: web
port: 80
targetPort: 80
selector:
app: usthe

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/tomsun28-usthe.git
git@api.gitlife.ru:oschina-mirror/tomsun28-usthe.git
oschina-mirror
tomsun28-usthe
tomsun28-usthe
master