система_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
Next revision Both sides next revision
система_kubernetes [2022/07/15 12:41]
val [Настройка доступа к Insecure Private Registry]
система_kubernetes [2022/08/16 10:09]
val [Настройка доступа к Insecure Private Registry]
Line 113: Line 113:
 ==== Настройка доступа к Insecure Private Registry ==== ==== Настройка доступа к Insecure Private Registry ====
  
-  * [[https://​github.com/​containerd/​containerd/​issues/​4938| Unable to pull image from insecure registry, http: server gave HTTP response to HTTPS client #4938 ]]+  * [[https://​github.com/​containerd/​containerd/​issues/​4938|Unable to pull image from insecure registry, http: server gave HTTP response to HTTPS client #4938]] 
 +  * [[https://​github.com/​containerd/​containerd/​issues/​3847|Containerd cannot pull image from insecure registry #3847]] 
   * [[https://​mrzik.medium.com/​how-to-configure-private-registry-for-kubernetes-cluster-running-with-containerd-cf74697fa382|How to Configure Private Registry for Kubernetes cluster running with containerd]]   * [[https://​mrzik.medium.com/​how-to-configure-private-registry-for-kubernetes-cluster-running-with-containerd-cf74697fa382|How to Configure Private Registry for Kubernetes cluster running with containerd]]
-  * [[https://​github.com/​containerd/​containerd/​blob/​main/​docs/​PLUGINS.md#​version-header| containerd/​docs/​PLUGINS.md migrate config v1 to v2]]+  * [[https://​github.com/​containerd/​containerd/​blob/​main/​docs/​PLUGINS.md#​version-header|containerd/​docs/​PLUGINS.md migrate config v1 to v2]]
  
   * Docker [[Технология Docker#​Insecure Private Registry]]   * Docker [[Технология Docker#​Insecure Private Registry]]
Line 261: Line 263:
   - protocol: TCP   - protocol: TCP
     port: 80     port: 80
-    ​targetPort: 80 +#    nodePort: 30111 
-status: +#    ​targetPort: 80 
-  loadBalancer:​ {}+#status: 
 + ​loadBalancer:​ {}
 </​code><​code>​ </​code><​code>​
 $ kubectl apply -f my-webd-service.yaml $ kubectl apply -f my-webd-service.yaml
Line 270: Line 273:
 NAME              TYPE       ​CLUSTER-IP ​      ​EXTERNAL-IP ​  ​PORT(S) ​       AGE NAME              TYPE       ​CLUSTER-IP ​      ​EXTERNAL-IP ​  ​PORT(S) ​       AGE
 my-webd-svc ​  ​NodePort ​  ​10.102.135.146 ​  <​none> ​       80:​30350/​TCP ​  18h my-webd-svc ​  ​NodePort ​  ​10.102.135.146 ​  <​none> ​       80:​30350/​TCP ​  18h
 +
 +$ kubectl describe svc my-webd -n my-ns
  
 student@node3:​~$ minikube service my-webd -n my-ns --url student@node3:​~$ minikube service my-webd -n my-ns --url
Line 310: Line 315:
  
 $ kubectl get ingress -n my-ns $ kubectl get ingress -n my-ns
 +Напиши,​ что тут?
  
 root@gate.corp13.un:​~#​ host webd root@gate.corp13.un:​~#​ host webd
система_kubernetes.txt · Last modified: 2024/05/13 17:43 by val