Skip to content

Commit 762b8da

Browse files
authored
docs: Update namespace on migrating from Cluster Autoscaler guide (#8094)
1 parent 72b550e commit 762b8da

File tree

7 files changed

+7
-7
lines changed
  • website/content/en
    • docs/getting-started/migrating-from-cas
    • preview/getting-started/migrating-from-cas
    • v0.32/getting-started/migrating-from-cas
    • v1.0/getting-started/migrating-from-cas
    • v1.2/getting-started/migrating-from-cas
    • v1.3/getting-started/migrating-from-cas
    • v1.4/getting-started/migrating-from-cas

7 files changed

+7
-7
lines changed

website/content/en/docs/getting-started/migrating-from-cas/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ If you have a lot of nodes or workloads you may want to slowly scale down your n
188188
As nodegroup nodes are drained you can verify that Karpenter is creating nodes for your workloads.
189189

190190
```bash
191-
kubectl logs -f -n karpenter -c controller -l app.kubernetes.io/name=karpenter
191+
kubectl logs -f -n "${KARPENTER_NAMESPACE}" -l app.kubernetes.io/name=karpenter -c controller
192192
```
193193

194194
You should also see new nodes created in your cluster as the old nodes are removed

website/content/en/preview/getting-started/migrating-from-cas/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ If you have a lot of nodes or workloads you may want to slowly scale down your n
188188
As nodegroup nodes are drained you can verify that Karpenter is creating nodes for your workloads.
189189

190190
```bash
191-
kubectl logs -f -n karpenter -c controller -l app.kubernetes.io/name=karpenter
191+
kubectl logs -f -n "${KARPENTER_NAMESPACE}" -l app.kubernetes.io/name=karpenter -c controller
192192
```
193193

194194
You should also see new nodes created in your cluster as the old nodes are removed

website/content/en/v0.32/getting-started/migrating-from-cas/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ If you have a lot of nodes or workloads you may want to slowly scale down your n
188188
As nodegroup nodes are drained you can verify that Karpenter is creating nodes for your workloads.
189189

190190
```bash
191-
kubectl logs -f -n karpenter -c controller -l app.kubernetes.io/name=karpenter
191+
kubectl logs -f -n "${KARPENTER_NAMESPACE}" -l app.kubernetes.io/name=karpenter -c controller
192192
```
193193

194194
You should also see new nodes created in your cluster as the old nodes are removed

website/content/en/v1.0/getting-started/migrating-from-cas/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ If you have a lot of nodes or workloads you may want to slowly scale down your n
188188
As nodegroup nodes are drained you can verify that Karpenter is creating nodes for your workloads.
189189

190190
```bash
191-
kubectl logs -f -n karpenter -c controller -l app.kubernetes.io/name=karpenter
191+
kubectl logs -f -n "${KARPENTER_NAMESPACE}" -l app.kubernetes.io/name=karpenter -c controller
192192
```
193193

194194
You should also see new nodes created in your cluster as the old nodes are removed

website/content/en/v1.2/getting-started/migrating-from-cas/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ If you have a lot of nodes or workloads you may want to slowly scale down your n
188188
As nodegroup nodes are drained you can verify that Karpenter is creating nodes for your workloads.
189189

190190
```bash
191-
kubectl logs -f -n karpenter -c controller -l app.kubernetes.io/name=karpenter
191+
kubectl logs -f -n "${KARPENTER_NAMESPACE}" -l app.kubernetes.io/name=karpenter -c controller
192192
```
193193

194194
You should also see new nodes created in your cluster as the old nodes are removed

website/content/en/v1.3/getting-started/migrating-from-cas/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ If you have a lot of nodes or workloads you may want to slowly scale down your n
188188
As nodegroup nodes are drained you can verify that Karpenter is creating nodes for your workloads.
189189

190190
```bash
191-
kubectl logs -f -n karpenter -c controller -l app.kubernetes.io/name=karpenter
191+
kubectl logs -f -n "${KARPENTER_NAMESPACE}" -l app.kubernetes.io/name=karpenter -c controller
192192
```
193193

194194
You should also see new nodes created in your cluster as the old nodes are removed

website/content/en/v1.4/getting-started/migrating-from-cas/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ If you have a lot of nodes or workloads you may want to slowly scale down your n
188188
As nodegroup nodes are drained you can verify that Karpenter is creating nodes for your workloads.
189189

190190
```bash
191-
kubectl logs -f -n karpenter -c controller -l app.kubernetes.io/name=karpenter
191+
kubectl logs -f -n "${KARPENTER_NAMESPACE}" -l app.kubernetes.io/name=karpenter -c controller
192192
```
193193

194194
You should also see new nodes created in your cluster as the old nodes are removed

0 commit comments

Comments
 (0)