This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
система_kubernetes [2026/11/10 10:39] val [Работа с публичными репозиториями] |
система_kubernetes [2026/11/10 20:51] (current) val [Deployment] |
||
|---|---|---|---|
| Line 869: | Line 869: | ||
| # image: gowebd | # image: gowebd | ||
| - | # imagePullPolicy: "IfNotPresent" | + | # imagePullPolicy: "Always" # for tag latest |
| # lifecycle: | # lifecycle: | ||
| Line 997: | Line 997: | ||
| * [[#Metrics Server]] | * [[#Metrics Server]] | ||
| - | * Пакет OpenSSL [[Пакет OpenSSL#Проверка производительности CPU]] | + | * Пакет OpenSSL [[Пакет OpenSSL#Проверка производительности CPU]] или [[Анализ производительности системы#Стресс тестирование и выявление нагрузки на CPU]] |
| <code> | <code> | ||
| Line 2058: | Line 2058: | ||
| - name: my-webd | - name: my-webd | ||
| image: server.corpX.un:5000/student/pywebd:ver1.2 | image: server.corpX.un:5000/student/pywebd:ver1.2 | ||
| - | imagePullPolicy: "Always" | + | imagePullPolicy: "IfNotPresent" |
| # env: | # env: | ||
| Line 2284: | Line 2284: | ||
| image: | image: | ||
| repository: server.corpX.un:5000/student/webd | repository: server.corpX.un:5000/student/webd | ||
| - | pullPolicy: Always | + | pullPolicy: Always # for tag latest |
| ... | ... | ||
| serviceAccount: | serviceAccount: | ||
| Line 2486: | Line 2486: | ||
| namespace = "{{.Release.Namespace}}" | namespace = "{{.Release.Namespace}}" | ||
| image = "alpine" | image = "alpine" | ||
| - | privileged = true #insert this | + | privileged = true #insert this, no need if kaniko |
| ... | ... | ||
| securityContext: | securityContext: | ||
| - | allowPrivilegeEscalation: true #change this | + | allowPrivilegeEscalation: true #change this, no need if kaniko |
| readOnlyRootFilesystem: false | readOnlyRootFilesystem: false | ||
| runAsNonRoot: true | runAsNonRoot: true | ||
| - | privileged: true #change this | + | privileged: true #change this, no need if kaniko |
| ... | ... | ||
| #volumeMounts: [] #comment this | #volumeMounts: [] #comment this | ||