mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-07-29 07:03:52 +03:00
generate kube-apiserver server certificate
This commit is contained in:
@@ -179,7 +179,8 @@ At this point the Kubernetes control plane is up and running. Run the following
|
||||
Make a HTTP request for the Kubernetes version info:
|
||||
|
||||
```bash
|
||||
curl -k https://server.kubernetes.local:6443/version
|
||||
curl --cacert ca.crt \
|
||||
https://server.kubernetes.local:6443/version
|
||||
```
|
||||
|
||||
```text
|
||||
|
@@ -11,7 +11,7 @@ Each kubeconfig requires a Kubernetes API Server to connect to.
|
||||
You should be able to ping `server.kubernetes.local` based on the `/etc/hosts` DNS entry from a previous lab.
|
||||
|
||||
```bash
|
||||
curl -k \
|
||||
curl --cacert ca.crt \
|
||||
https://server.kubernetes.local:6443/version
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user