Skip to content

Commit

Permalink
fix: wrong kubectl kcl apply command
Browse files Browse the repository at this point in the history
  • Loading branch information
Peefy committed Oct 12, 2023
1 parent 974dc7a commit 48b37e2
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions blog/2023-10-11-biweekly-newsletter/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,15 @@ You can refer to the corresponding examples to incorporate the above configurati
```
Using the Kubectl KCL tool for resource validation on the client-side, we will get the following result:
```shell
$ kubectl kcl check -f manifests.yaml
- A validation that prevents the creation of Service resources of type `LoadBalancer`, for Service: my-service
```
```shell
kubectl kcl apply -f manifests.yaml
```

The output is

```
A validation that prevents the creation of Service resources of type `LoadBalancer`, for Service: my-service
```

## Resources

Expand Down

0 comments on commit 48b37e2

Please sign in to comment.