Update kube namespace screenshots

This commit is contained in:
Jim Galasyn 2018-04-24 09:56:13 -07:00
parent fdd919eff1
commit 4a24c6027b
6 changed files with 54 additions and 50 deletions

View File

@ -27,10 +27,10 @@ metadata:
apiVersion: v1 apiVersion: v1
kind: Namespace kind: Namespace
metadata: metadata:
name: orange name: green
``` ```
5. Click **Create** to create the `blue` and `orange` namespaces. 5. Click **Create** to create the `blue` and `green` namespaces.
![](../../images/view-namespace-resources-1.png){: .with-border} ![](../../images/view-namespace-resources-1.png){: .with-border}
@ -53,30 +53,30 @@ spec:
type: NodePort type: NodePort
ports: ports:
- port: 80 - port: 80
nodePort: 30080 nodePort: 32768
selector: selector:
app: app-blue app: app-blue
``` ```
4. Click **Create** to deploy the service in the `blue` namespace. 4. Click **Create** to deploy the service in the `blue` namespace.
Repeat the previous steps with the following YAML, but this time, select 5. Repeat the previous steps with the following YAML, but this time,
`orange` from the **Namespace** dropdown. select `green` from the **Namespace** dropdown.
```yaml ```yaml
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: app-service-orange name: app-service-green
labels: labels:
app: app-orange app: app-green
spec: spec:
type: NodePort type: NodePort
ports: ports:
- port: 80 - port: 80
nodePort: 30081 nodePort: 32769
selector: selector:
app: app-orange app: app-green
``` ```
## View services ## View services
@ -86,7 +86,7 @@ Currently, the **Namespaces** view is set to the **default** namespace, so the
1. In the left pane, click **Namespaces** to open the list of namespaces. 1. In the left pane, click **Namespaces** to open the list of namespaces.
2. In the upper-right corner, click the **Set context for all namespaces** 2. In the upper-right corner, click the **Set context for all namespaces**
toggle. The indicator in the left pane changes to **All Namespaces**. toggle and click **Confirm**. The indicator in the left pane changes to **All Namespaces**.
3. Click **Load Balancers** to view your services. 3. Click **Load Balancers** to view your services.
![](../../images/view-namespace-resources-2.png){: .with-border} ![](../../images/view-namespace-resources-2.png){: .with-border}
@ -98,15 +98,19 @@ Kubernetes objects in every namespace. Now filter the view to show only
objects in one namespace. objects in one namespace.
1. In the left pane, click **Namespaces** to open the list of namespaces. 1. In the left pane, click **Namespaces** to open the list of namespaces.
2. In the **orange** namespace, click the **More options** icon and in the 2. In the **green** namespace, click the **More options** icon and in the
context menu, select **Set Context**. context menu, select **Set Context**.
![](../../images/view-namespace-resources-3.png){: .with-border} ![](../../images/view-namespace-resources-3.png){: .with-border}
3. Click **Confirm** to set the context to the `orange` namespace. 3. Click **Confirm** to set the context to the `green` namespace.
The indicator in the left pane changes to **orange**. The indicator in the left pane changes to **green**.
4. Click **Load Balancers** to view your `app-service-orange` service. 4. Click **Load Balancers** to view your `app-service-green` service.
The `app-service-blue` service doesn't appear. The `app-service-blue` service doesn't appear.
![](../../images/view-namespace-resources-4.png){: .with-border}
To view the `app-service-blue` service, repeat the previous steps, but this To view the `app-service-blue` service, repeat the previous steps, but this
time, select **Set Context** on the **blue** namespace. time, select **Set Context** on the **blue** namespace.
![](../../images/view-namespace-resources-5.png){: .with-border}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB