TFS2018 method for connecting k8s clusters

Source: Internet
Author: User
Tags k8s

This piece of oneself did not do the test, and the platform Shangjuan Juan after communication, directly from the history command to find the relevant orders, thanks to the original author and provide help to colleagues netizens. If there is a problem follow-up and change.

1. Add endpoint to the service

See figure

Create

Connection Name Optional

The server URL should be the path to the Apiserver

Kubeconfig should be the user information of the created TFSAdmin

Shangjuan Juan is created by:

KUBECTL Create SA tfs-admin-n kube-systemkubectl create clusterrolebinding TFS-admin--clusterrole= Cluster-admin--serviceaccount=kube-system:tfs-get'^token  '

Then copy the token to Kubeconfig.

TFS2018 method for connecting k8s clusters

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.