Powershell note for kubectl patch command (#15308)

* Improvement for kubectl patch command

This command does not work in Powershell. A specific note would help the developers to take care of the same.

* Fixed review comments

Added different tabs for bash and PowerShell.

* Removing note for PowerShell

Hugo is not able to add note along with shortcode. Hence removing note.
pull/15717/head
Manish Bansal 2019-08-07 05:06:50 +05:30 committed by Kubernetes Prow Robot
parent 2928d6ac9c
commit 7bcc824779
1 changed files with 7 additions and 2 deletions

View File

@ -69,9 +69,14 @@ spec:
Patch your Deployment:
```shell
{{< tabs name="kubectl_patch_example" >}}
{{{< tab name="Bash" codelang="bash" >}}
kubectl patch deployment patch-demo --patch "$(cat patch-file-containers.yaml)"
```
{{< /tab >}}
{{< tab name="PowerShell" codelang="posh" >}}
kubectl patch deployment patch-demo --patch $(cat patch-file-containers.yaml)
{{< /tab >}}}
{{< /tabs >}}
View the patched Deployment: