Fix indentation / markdown formatting for list numbering. (#17465)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
244f802a33
commit
ff22d19e59
@@ -109,7 +109,7 @@ More information on `finalizers` can be found in the namespace [design doc](http
|
|||||||
|
|
||||||
## Deleting a namespace
|
## Deleting a namespace
|
||||||
|
|
||||||
1. Delete a namespace with
|
Delete a namespace with
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl delete namespaces <insert-some-namespace-name>
|
kubectl delete namespaces <insert-some-namespace-name>
|
||||||
@@ -155,17 +155,13 @@ One pattern this organization could follow is to partition the Kubernetes cluste
|
|||||||
|
|
||||||
Let's create two new namespaces to hold our work.
|
Let's create two new namespaces to hold our work.
|
||||||
|
|
||||||
Use the file [`namespace-dev.json`](/examples/admin/namespace-dev.json) which describes a `development` namespace:
|
Create the `development` namespace using kubectl:
|
||||||
|
|
||||||
{{< codenew language="json" file="admin/namespace-dev.json" >}}
|
|
||||||
|
|
||||||
Create the `development` namespace using kubectl.
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl create -f https://k8s.io/examples/admin/namespace-dev.json
|
kubectl create -f https://k8s.io/examples/admin/namespace-dev.json
|
||||||
```
|
```
|
||||||
|
|
||||||
And then let's create the `production` namespace using kubectl.
|
And then let's create the `production` namespace using kubectl:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl create -f https://k8s.io/examples/admin/namespace-prod.json
|
kubectl create -f https://k8s.io/examples/admin/namespace-prod.json
|
||||||
@@ -199,12 +195,12 @@ kubectl config view
|
|||||||
```yaml
|
```yaml
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
clusters:
|
clusters:
|
||||||
- cluster:
|
cluster:
|
||||||
certificate-authority-data: REDACTED
|
certificate-authority-data: REDACTED
|
||||||
server: https://130.211.122.180
|
server: https://130.211.122.180
|
||||||
name: lithe-cocoa-92103_kubernetes
|
name: lithe-cocoa-92103_kubernetes
|
||||||
contexts:
|
contexts:
|
||||||
- context:
|
context:
|
||||||
cluster: lithe-cocoa-92103_kubernetes
|
cluster: lithe-cocoa-92103_kubernetes
|
||||||
user: lithe-cocoa-92103_kubernetes
|
user: lithe-cocoa-92103_kubernetes
|
||||||
name: lithe-cocoa-92103_kubernetes
|
name: lithe-cocoa-92103_kubernetes
|
||||||
@@ -212,12 +208,12 @@ current-context: lithe-cocoa-92103_kubernetes
|
|||||||
kind: Config
|
kind: Config
|
||||||
preferences: {}
|
preferences: {}
|
||||||
users:
|
users:
|
||||||
- name: lithe-cocoa-92103_kubernetes
|
name: lithe-cocoa-92103_kubernetes
|
||||||
user:
|
user:
|
||||||
client-certificate-data: REDACTED
|
client-certificate-data: REDACTED
|
||||||
client-key-data: REDACTED
|
client-key-data: REDACTED
|
||||||
token: 65rZW78y8HbwXXtSXuUw9DbP4FLjHi4b
|
token: 65rZW78y8HbwXXtSXuUw9DbP4FLjHi4b
|
||||||
- name: lithe-cocoa-92103_kubernetes-basic-auth
|
name: lithe-cocoa-92103_kubernetes-basic-auth
|
||||||
user:
|
user:
|
||||||
password: h5M0FtUUIflBSdI7
|
password: h5M0FtUUIflBSdI7
|
||||||
username: admin
|
username: admin
|
||||||
|
|||||||
Reference in New Issue
Block a user