You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if we want use a image thats present in local repository
create a secret conatining the credentials of registery
kubectl create secret docker-registry regcred --docker-server=<private registery ip of hostname> --docker-username=<username> --docker-passowrd=<passowrd> --docker-email=<email of user>
then use the following exapmle yamls showing the use of private repo
apiVesion: V1
Kind: Pod
metadata:
name: nginx-pod
spec:
conatiners:
- name: nginx
image: <private repo ip of hostname>/apps/internal-app