User Tools

Site Tools


система_kubernetes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
система_kubernetes [2026/11/09 18:49]
val [Volumes]
система_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 1703: Line 1703:
   name: my-pv-kube3-sz-128m-num-001   name: my-pv-kube3-sz-128m-num-001
 spec: spec:
-#  ​storageClassName:​ my-ha-sc+  ​storageClassName:​ my-ha-sc
   capacity:   capacity:
     storage: 128Mi     storage: 128Mi
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
Line 2507: Line 2507:
 ... ...
 </​code><​code>​ </​code><​code>​
 +kube1:​~/​gitlab-runner#​ helm template gitlab-runner gitlab/​gitlab-runner -f values.yaml -n gitlab-runner --version 0.70.5
 +
 kube1:​~/​gitlab-runner#​ helm upgrade -i gitlab-runner gitlab/​gitlab-runner -f values.yaml -n gitlab-runner --version 0.70.5 kube1:​~/​gitlab-runner#​ helm upgrade -i gitlab-runner gitlab/​gitlab-runner -f values.yaml -n gitlab-runner --version 0.70.5
  
система_kubernetes.1794239392.txt.gz · Last modified: 2026/11/09 18:49 by val