link not valid

link mentioned was not working, got 

[root@devops230 ~]# kubectl apply -f https://k8s.io/examples/application/nginx/
error: unable to read URL "https://k8s.io/examples/application/nginx/", server reported 404 Not Found, status code=404
This commit is contained in:
busyboy77 2022-11-01 18:04:33 +05:00 committed by GitHub
parent df20e985ff
commit f44ce78894
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -37,14 +37,6 @@ The resources will be created in the order they appear in the file. Therefore, i
kubectl apply -f https://k8s.io/examples/application/nginx/nginx-svc.yaml -f https://k8s.io/examples/application/nginx/nginx-deployment.yaml
```
And a directory can be specified rather than or in addition to individual files:
```shell
kubectl apply -f https://k8s.io/examples/application/nginx/
```
`kubectl` will read any files with suffixes `.yaml`, `.yml`, or `.json`.
It is a recommended practice to put resources related to the same microservice or application tier into the same file, and to group all of the files associated with your application in the same directory. If the tiers of your application bind to each other using DNS, you can deploy all of the components of your stack together.
A URL can also be specified as a configuration source, which is handy for deploying directly from configuration files checked into GitHub: