GarbageYard

kubeconfig files for dev and qa cluster

Sep 20th, 2019
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.42 KB | None | 0 0
  1. # DEV config:
  2.  
  3. apiVersion: v1
  4. kind: Config
  5. clusters:
  6. - name: "dev"
  7.   cluster:
  8.     server: "https://54.xyz.abc.zx:8443/k8s/clusters/c-85h6g"
  9.     certificate-authority-data: "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUM3akNDQ\
  10.      WRhZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFvTVJJd0VBWURWUVFLRXdsMGFHVXQKY\
  11.      21GdVkyZ3hFakFRQmdOVkJBTVRDV05oZEhSc1pTMWpZVEFlRncweE9UQTVNakF4TVRBek1qQmFGd\
  12.      zB5T1RBNQpNVGN4TVRBek1qQmFNQ2d4RWpBUUJnTlZCQW9UQ1hSb1pTMXlZVzVqYURFU01CQUdBM\
  13.      VJUSUZJQ0FURS0tLS0t"
  14. - name: "dev-ip-172-31-32-121"
  15.   cluster:
  16.     server: "https://172.31.32.121:6443"
  17.     certificate-authority-data: "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUN3akNDQ\
  18.      WFxZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFTTVJBd0RnWURWUVFERXdkcmRXSmwKT\
  19.      klDQVRFLS0tLS0K"
  20.  
  21. users:
  22. - name: "user-fbkjc"
  23.   user:
  24.     token: "kubeconfig-user-fbkjc.c-85h6g:ckwfvbfwhgvlfm4vmfb9bnx9mx8znpqnl5wnc5nmh5hpdhrxwqhmp5"
  25.  
  26. contexts:
  27. - name: "dev"
  28.   context:
  29.     user: "user-fbkjc"
  30.     cluster: "dev"
  31. - name: "dev-ip-172-31-32-121"
  32.   context:
  33.     user: "user-fbkjc"
  34.     cluster: "dev-ip-172-31-32-121"
  35.  
  36. current-context: "dev"
  37.  
  38. # -----------------------------------------------------------------------------------------
  39.  
  40. # QA config:
  41.  
  42. apiVersion: v1
  43. kind: Config
  44. clusters:
  45. - name: "qa"
  46.   cluster:
  47.     server: "https://54.xyz.abc.zx:8443/k8s/clusters/c-9lzs2"
  48.     certificate-authority-data: "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUM3akNDQ\
  49.      WRhZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFvTVJJd0VBWURWUVFLRXdsMGFHVXQKY\
  50.      21GdVkyZ3hFakFRQmdOVkJBTVRDV05oZEhSc1pTMWpZVEFlRncweE9UQTVNakF4TVRBek1qQmFGd\
  51.      zB5T1RBNQpNVGN4TVRBek1qQmFNQ2d4RWpBUUJnTlZCQW9UQ1hSb1pTMXlZVzVqYURFU01CQUdBM\
  52.      VJUSUZJQ0FURS0tLS0t"
  53. - name: "qa-ip-172-31-33-27"
  54.   cluster:
  55.     server: "https://172.31.33.27:6443"
  56.     certificate-authority-data: "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUN3akNDQ\
  57.      WFxZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFTTVJBd0RnWURWUVFERXdkcmRXSmwKT\
  58.      klDQVRFLS0tLS0K"
  59.  
  60. users:
  61. - name: "user-fbkjc"
  62.   user:
  63.     token: "kubeconfig-user-fbkjc.c-9lzs2:crzrm7tzk8lfwzsd8dllswn4n5ljkfmtfwpbzsj484jstlm5twpgwh"
  64.  
  65. contexts:
  66. - name: "qa"
  67.   context:
  68.     user: "user-fbkjc"
  69.     cluster: "qa"
  70. - name: "qa-ip-172-31-33-27"
  71.   context:
  72.     user: "user-fbkjc"
  73.     cluster: "qa-ip-172-31-33-27"
  74.  
  75. current-context: "qa"
  76.  
  77. # -----------------------------------------------------------------------------------------
Add Comment
Please, Sign In to add comment