Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
357
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. proxy:
  2. secretToken: "some token"
  3. singleuser:
  4. image:
  5. name: acc_id.dkr.ecr.ap-south-1.amazonaws.com/demo
  6. tag: 12c
  7. lifecycleHooks:
  8. postStart:
  9. exec:
  10. command: ["/bin/sh", "-c", 'ipython profile create; cd ~/.ipython/profile_default/startup; echo ''run_id = "sample" ''> aviral.py']
  11. imagePullSecret:
  12. enabled: true
  13. registry: acc_id.dkr.ecr.ap-south-1.amazonaws.com
  14. username: aws
  15. email: aviral@abcd.com
  16. password: <my pw>
  17.  
  18. ➜ jupyterhub kubectl get pods -n jhub
  19. NAME READY STATUS RESTARTS AGE
  20. hook-image-awaiter-2xxfx 1/1 Running 0 13m
  21. hook-image-puller-4f9mk 1/1 Running 0 13m
  22. hook-image-puller-jshlk 1/1 Running 0 13m
  23. hook-image-puller-wj8r6 1/1 Running 0 13m
  24. hook-image-puller-wlgnh 0/1 Init:ImagePullBackOff 0 13m
  25. hub-6766fc7586-zdf9n 1/1 Running 0 35m
  26. proxy-65f559ff89-md7r5 1/1 Running 0 20h
  27.  
  28. Failed to pull image "acc_id.dkr.ecr.ap-south-1.amazonaws.com/demo:12c": [rpc error: code = Unknown desc = Error response from daemon: unauthorized: authentication required, rpc error: code = Canceled desc = context canceled]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement