fixed indentation issue with heading (#3972)

* fixed indentation issue with heading

* Update README.md

* more indentation changes

* RunAsNonRoot can be set to true without the feature flag (#3969)

* Update docs/serving/samples/hello-world/helloworld-python/README.md

Co-authored-by: Julian Friedman <julz.friedman@uk.ibm.com>

Co-authored-by: Senthilnathan M <216394+senthilnathan@users.noreply.github.com>
Co-authored-by: Omer B <obensaadon@vmware.com>
Co-authored-by: Julian Friedman <julz.friedman@uk.ibm.com>
This commit is contained in:
Ereli Eran 2021-09-28 04:15:13 -04:00 committed by GitHub
parent 3b06dc9a8c
commit 498132a97d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 6 deletions

View File

@ -113,13 +113,13 @@ cd knative-docs/docs/serving/samples/hello-world/helloworld-python
1. After the build has completed and the container is pushed to Docker Hub, you
can deploy the app into your cluster.
=== "yaml"
=== "yaml"
1. Create a new file, `service.yaml` and copy the following service
definition into the file. Make sure to replace `{username}` with your
Docker Hub username or with the URL provided by your container registry
```yaml
```yaml
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
@ -133,7 +133,7 @@ cd knative-docs/docs/serving/samples/hello-world/helloworld-python
env:
- name: TARGET
value: "Python Sample v1"
```
```
Ensure that the container image value in `service.yaml` matches the container
you built in the previous step. Apply the configuration using `kubectl`:
@ -170,10 +170,12 @@ cd knative-docs/docs/serving/samples/hello-world/helloworld-python
> Note: If your URL includes `example.com` then consult the setup instructions for
> configuring DNS (e.g. with `sslip.io`), or [using a Custom Domain](../serving/using-a-custom-domain).
=== "kubectl"
=== "kubectl"
```bash
kubectl get ksvc helloworld-python --output=custom-columns=NAME:.metadata.name,URL:.status.url
```
```bash
kubectl get ksvc helloworld-python --output=custom-columns=NAME:.metadata.name,URL:.status.url
```
Example: