Coder Social home page Coder Social logo

scripts's Introduction

cloud-native-apphub: 用户一键安装功能,如何获取相应的Certificate信息

说明:kubectl默认会从$HOME/.kube目录下查找文件名为 config 的文件,但是也能通过设置环境变量 KUBECONFIG 或者通过设置去指定其它 kubeconfig 文件。kubeconfig就是为访问集群所作的配置。

注意:一般config文件处于.kube文件夹内,且kube文件是隐藏文件夹。

若集群master登录用户为root: 1、cd /root

2、ls -al #可以看到隐藏的.kube文件夹

3、cd .kube #进入.kube文件件

4、cat config #即可显示server,certificate-authority-data,client-certificate-data,client-key-data

alt text

若存在问题请联系:[email protected], [email protected]

scripts's People

Contributors

bh4aws avatar hongchaodeng avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.