mirror of
				https://github.com/kelseyhightower/kubernetes-the-hard-way.git
				synced 2025-11-04 02:02:33 +03:00 
			
		
		
		
	clean up docs
This commit is contained in:
		@@ -94,7 +94,8 @@ In this section we will generate a TLS certificate that will be valid for all Ku
 | 
				
			|||||||
Create the `kubernetes-csr.json` file:
 | 
					Create the `kubernetes-csr.json` file:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
export KUBERNETES_PUBLIC_IP_ADDRESS=$(gcloud compute addresses describe kubernetes --format 'value(address)')
 | 
					export KUBERNETES_PUBLIC_IP_ADDRESS=$(gcloud compute addresses describe kubernetes \
 | 
				
			||||||
 | 
					  --format 'value(address)')
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
@@ -131,10 +132,6 @@ cat > kubernetes-csr.json <<EOF
 | 
				
			|||||||
EOF
 | 
					EOF
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					 | 
				
			||||||
gcloud compute addresses list kubernetes
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Generate the Kubernetes certificate and private key:
 | 
					Generate the Kubernetes certificate and private key:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
@@ -160,7 +157,7 @@ kubernetes.pem
 | 
				
			|||||||
openssl x509 -in kubernetes.pem -text -noout
 | 
					openssl x509 -in kubernetes.pem -text -noout
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Copy TLS Certs
 | 
					## Copy TLS Certs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
gcloud compute copy-files ca.pem kubernetes-key.pem kubernetes.pem controller0:~/
 | 
					gcloud compute copy-files ca.pem kubernetes-key.pem kubernetes.pem controller0:~/
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user