Merge pull request #199 from BenTheElder/kops-mirror

kOps mirror guide, mirror nits
This commit is contained in:
Kubernetes Prow Robot 2023-03-23 13:06:31 -07:00 committed by GitHub
commit 2cae96665d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 1 deletions

View File

@ -35,7 +35,9 @@ Instead, link to existing official guides and merely provide a lightweight point
See: https://kubernetes.io/docs/contribute/style/content-guide/#dual-sourced-content
-->
This section covers some options for copying images you wish to mirror to your own registry.
Here are some options for copying images you wish to mirror to your own registry.
<!-- FOSS Mirroring Tools First -->
### Mirroring With `crane` Or `gcrane`
@ -66,6 +68,8 @@ Go to "Projects" and click "New Project".
Create a project named something like 'k8s', click "Proxy Cache" and select your `registry.k8s.io` endpoint.
Docs: https://goharbor.io/docs/2.1.0/administration/configure-proxy-cache/
<!-- NON-FOSS Mirroring Tools Below Here -->
## Using Mirrored Images
<!--
@ -80,3 +84,4 @@ See: https://kubernetes.io/docs/contribute/style/content-guide/#dual-sourced-con
- For containerd see: [containerd.md](./containerd.md)
- For kubeadm see: [kubeadm.md](./kubeadm.md)
- For kOps see: [kOps.md](./kOps.md)

16
docs/mirroring/kOps.md Normal file
View File

@ -0,0 +1,16 @@
# Mirroring with kOps
## Identifying Images To Mirror
TODO: Help Wanted!
## Mirroring Images
See our general list of [mirroring options](./README.md#Mirroring-Images)
## Using Mirrored Images
You can configure containerd to use registry mirrors for in the kOps cluster spec.
You'll need to add an entry for `"registry.k8s.io"` with your mirror.
Docs: https://kops.sigs.k8s.io/cluster_spec/#registry-mirrors