DEVOPS_PROBLEMS_LIB Telegram 704
Какой файл YAML используется для определения модуля Kubernetes?

👾
— apiVersion: v1
kind: Deployment
metadata:
name: my-deployment
spec:
replicas: 3
selector:
matchLabels:
app: my-app
template:
metadata:
labels:
app: my-app
spec:
containers:
- name: my-container
image: my-image:latest

👍 — apiVersion: v1
kind: Service
metadata:
name: my-service
spec:
selector:
app: my-app
ports:
- protocol: TCP
port: 80
targetPort: 8080

🥰 — apiVersion: v1
kind: Pod
metadata:
name: my-pod
spec:
containers:
- name: container-1
image: image-1
- name: container-2
image: image-2

— apiVersion: apps/v1
kind: DaemonSet
metadata:
name: my-daemonset
spec:
selector:
matchLabels:
app: my-app
template:
metadata:
labels:
app: my-app
spec:
containers:
- name: my-container
image: my-image:latest

Библиотека задач по DevOps
Please open Telegram to view this post
VIEW IN TELEGRAM



tgoop.com/devops_problems_lib/704
Create:
Last Update:

Какой файл YAML используется для определения модуля Kubernetes?

👾
— apiVersion: v1
kind: Deployment
metadata:
name: my-deployment
spec:
replicas: 3
selector:
matchLabels:
app: my-app
template:
metadata:
labels:
app: my-app
spec:
containers:
- name: my-container
image: my-image:latest

👍 — apiVersion: v1
kind: Service
metadata:
name: my-service
spec:
selector:
app: my-app
ports:
- protocol: TCP
port: 80
targetPort: 8080

🥰 — apiVersion: v1
kind: Pod
metadata:
name: my-pod
spec:
containers:
- name: container-1
image: image-1
- name: container-2
image: image-2

— apiVersion: apps/v1
kind: DaemonSet
metadata:
name: my-daemonset
spec:
selector:
matchLabels:
app: my-app
template:
metadata:
labels:
app: my-app
spec:
containers:
- name: my-container
image: my-image:latest

Библиотека задач по DevOps

BY Библиотека задач по DevOps | тесты, код, задания


Share with your friend now:
tgoop.com/devops_problems_lib/704

View MORE
Open in Telegram


Telegram News

Date: |

Click “Save” ; You can invite up to 200 people from your contacts to join your channel as the next step. Select the users you want to add and click “Invite.” You can skip this step altogether. Unlimited number of subscribers per channel Image: Telegram. Among the requests, the Brazilian electoral Court wanted to know if they could obtain data on the origins of malicious content posted on the platform. According to the TSE, this would enable the authorities to track false content and identify the user responsible for publishing it in the first place.
from us


Telegram Библиотека задач по DevOps | тесты, код, задания
FROM American