Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@bastion ~]# oc login https://lb.openshift.dev
- The server uses a certificate signed by an unknown authority.
- You can bypass the certificate check, but any data you send to the server could be intercepted by others.
- Use insecure connections? (y/n): y
- Authentication required for https://lb.openshift.dev:443 (openshift)
- Username: admin
- Password:
- Login successful.
- You don't have any projects. You can try to create a new project, by running
- oc new-project <projectname>
- Welcome! See 'oc help' to get started.
- [root@bastion ~]# oc whoami
- admin
- [root@bastion ~]# oc config view
- apiVersion: v1
- clusters:
- - cluster:
- insecure-skip-tls-verify: true
- server: https://lb.openshift.dev:443
- name: lb-openshift-dev:443
- contexts:
- - context:
- cluster: lb-openshift-dev:443
- user: admin/lb-openshift-dev:443
- name: /lb-openshift-dev:443/admin
- current-context: /lb-openshift-dev:443/admin
- kind: Config
- preferences: {}
- users:
- - name: admin/lb-openshift-dev:443
- user:
- token: ----------------------------------------------
- [root@bastion ~]# oc get user
- No resources found.
- Error from server: User "admin" cannot list all users in the cluster
- [root@bastion ~]# oc get nodes
- No resources found.
- Error from server: User "admin" cannot list all nodes in the cluster
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement