Skip to content

How to add the private registry to Rancher desktop on windows? #1041

Answered by vladonemo
VatthanachaiW asked this question in Q&A
Discussion options

You must be logged in to vote

You can start deploying the private registry in kubernetes, e.g like this:

apiVersion: v1
kind: ReplicationController
metadata:
  name: kube-registry-v0
  namespace: kube-system
  labels:
    k8s-app: kube-registry
    version: v0
spec:
  replicas: 1
  selector:
    k8s-app: kube-registry
    version: v0
  template:
    metadata:
      labels:
        k8s-app: kube-registry
        version: v0
    spec:
      containers:
        - name: registry
          image: registry:2
          resources:
            limits:
              cpu: 100m
              memory: 200Mi
          env:
            - name: REGISTRY_HTTP_ADDR
              value: :5000
            - name: REGISTRY_STORAGE_FILESYST…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@VatthanachaiW
Comment options

Answer selected by VatthanachaiW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants