kubectl pull image


### create
```typekubectl create secret docker-registry regcred \ --docker-server="ghcr.io" \ --docker-username="seonglae" \ --docker-password="{token}" \ --docker-email="sungle3737@gmail.com"kubectl get secrets```


### check
```typekubectl get secret ghcred \--output="jsonpath={.data.\.dockerconfigjson}" | base64 --decode```

### patch
```typekubectl patch serviceaccount default -p '{"imagePullSecrets": [{"name": "ghcred"}]}'```




> [Frequently Asked Questions (FAQs) | Okteto Documentation](https://okteto.com/docs/reference/faqs/#how-to-use-private-images)

> [프라이빗 레지스트리에서 이미지 받아오기](https://kubernetes.io/ko/docs/tasks/configure-pod-container/pull-image-private-registry/)





