https://github.com/ddobrin/generator-knative-simple
Generator that creates a small set of Knative resource files for applications and it's dependent services
https://github.com/ddobrin/generator-knative-simple
Last synced: 5 months ago
JSON representation
Generator that creates a small set of Knative resource files for applications and it's dependent services
- Host: GitHub
- URL: https://github.com/ddobrin/generator-knative-simple
- Owner: ddobrin
- License: apache-2.0
- Created: 2021-03-19T19:43:58.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-26T15:02:29.000Z (over 5 years ago)
- Last Synced: 2025-09-21T00:43:09.652Z (10 months ago)
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# generator-knative-simple
Generator that creates a small set of Knative resource files for applications and it's dependent services
**Note:** - For all the generated manifests, please adjust the image name to the container registry in use
* For local K8s - manifests work as-is
* For GCR, for example - image: gcr.io//
## Deploying to Knative
To deploy the service to Knative, select the image you wish to deploy, generated in the `kubernetes` folder:
* JVM - /kubernetes/jvm/service.yaml
* Native - /kubernetes/native/service-native.yaml
To deploy the service, please execute:
```shell
$ kubectl apply -f /kubernetes/jvm/service.yaml
$ kubectl apply -f /kubernetes/jvm/service-native.yaml
```
To delete the service, please execute:
```shell
$ kubectl delete -f /kubernetes/jvm/service.yaml
$ kubectl delete -f /kubernetes/jvm/service-native.yaml
```