oam-kubernetes-runtime | A set of libraries for building OAM runtimes
kandi X-RAY | oam-kubernetes-runtime Summary
kandi X-RAY | oam-kubernetes-runtime Summary
oam-kubernetes-runtime is a Go library typically used in Framework applications. oam-kubernetes-runtime has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
:tada: We have decided to promote OAM Kubernetes Runtime to an end-to-end app platform engine with the name of KubeVela. Please check its documentation site to learn about using OAM (Open Application Model) with Kubernetes in detail. We made this decision because the growth of this project's feature set and community adoption have fairly exceeded its original scope as "an OAM library" in past 6 months and this made us feel it worth to promote it to a independent project which may even change how the community build developer-centric platforms in the foresee future. Note that KubeVela is designed to support all features and APIs (i.e. OAM spec v0.2.x releases) of OAM Kubernetes Runtime. So as existing adopters, you could just replace your binary and everything is all set. We decided to avoid directly renaming this repository to KubeVela because there're some other adopters imported this project as a library, we don't want to break their use cases. Though this also means we are focusing all of our attention on KubeVela repository and will only be working on this repository for critical updates and bug fixes. The plug-in for implementing Open Application Model (OAM) on Kubernetes.
:tada: We have decided to promote OAM Kubernetes Runtime to an end-to-end app platform engine with the name of KubeVela. Please check its documentation site to learn about using OAM (Open Application Model) with Kubernetes in detail. We made this decision because the growth of this project's feature set and community adoption have fairly exceeded its original scope as "an OAM library" in past 6 months and this made us feel it worth to promote it to a independent project which may even change how the community build developer-centric platforms in the foresee future. Note that KubeVela is designed to support all features and APIs (i.e. OAM spec v0.2.x releases) of OAM Kubernetes Runtime. So as existing adopters, you could just replace your binary and everything is all set. We decided to avoid directly renaming this repository to KubeVela because there're some other adopters imported this project as a library, we don't want to break their use cases. Though this also means we are focusing all of our attention on KubeVela repository and will only be working on this repository for critical updates and bug fixes. The plug-in for implementing Open Application Model (OAM) on Kubernetes.
Support
Quality
Security
License
Reuse
Support
oam-kubernetes-runtime has a low active ecosystem.
It has 257 star(s) with 80 fork(s). There are 34 watchers for this library.
It had no major release in the last 12 months.
There are 41 open issues and 95 have been closed. On average issues are closed in 54 days. There are 9 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of oam-kubernetes-runtime is v0.3.3
Quality
oam-kubernetes-runtime has 0 bugs and 0 code smells.
Security
oam-kubernetes-runtime has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
oam-kubernetes-runtime code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
oam-kubernetes-runtime is licensed under the Apache-2.0 License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
oam-kubernetes-runtime releases are available to install and integrate.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of oam-kubernetes-runtime
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of oam-kubernetes-runtime
oam-kubernetes-runtime Key Features
No Key Features are available at this moment for oam-kubernetes-runtime.
oam-kubernetes-runtime Examples and Code Snippets
No Code Snippets are available at this moment for oam-kubernetes-runtime.
Community Discussions
No Community Discussions are available at this moment for oam-kubernetes-runtime.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install oam-kubernetes-runtime
Install with webhook enabled by following steps:.
Create namespace for OAM runtime controller
Add helm repo
Install OAM Kubernetes Runtime
Step 1: Admission Webhook need you to prepare certificates and ca for production use. For none-production use, you could generate them by running the shell script provided in repo. curl -sfL https://raw.githubusercontent.com/crossplane/oam-kubernetes-runtime/master/hack/ssl/ssl.sh | bash -s oam-kubernetes-runtime-webhook oam-system The shell will generate files like below: $ tree . ├── csr.conf ├── oam-kubernetes-runtime-webhook.csr ├── oam-kubernetes-runtime-webhook.key └── oam-kubernetes-runtime-webhook.pem 0 directories, 4 files
Step 2: Create secret for ssl certificates: Notice the server key and certificate must be named tls.key and tls.crt, respectively. Secret name can be user defined, we'd better align with chart values. kubectl -n oam-system create secret generic webhook-server-cert --from-file=tls.key=./oam-kubernetes-runtime-webhook.key --from-file=tls.crt=./oam-kubernetes-runtime-webhook.pem
Step 3: Get CA Bundle info and install with its value caValue=`kubectl config view --raw --minify --flatten -o jsonpath='{.clusters[].cluster.certificate-authority-data}'` helm install core-runtime -n oam-system ./charts/oam-kubernetes-runtime --set useWebhook=true --set certificate.caBundle=$caValue
We have some examples in the repo for you to verify the OAM control plane is working:. Apply a sample application configuration. Verify that the application is running.
We have some examples in the repo for you to verify the OAM control plane is working: git clone git@github.com:crossplane/oam-kubernetes-runtime.git cd ./oam-kubernetes-runtime
Apply a sample application configuration kubectl apply -f examples/containerized-workload
Verify that the application is running Check its components: kubectl get components NAME WORKLOAD-KIND AGE example-component ContainerizedWorkload 63s Check its application configuration: kubectl get appconfig NAME AGE example-appconfig 3m48s Check the status and events from the application: kubectl describe appconfig example-appconfig Status: Conditions: Last Transition Time: 2020-06-12T21:18:40Z Reason: Successfully reconciled resource Status: True Type: Synced Workloads: Component Name: example-component Traits: Trait Ref: API Version: core.oam.dev/v1alpha2 Kind: ManualScalerTrait Name: example-appconfig-trait Workload Ref: API Version: core.oam.dev/v1alpha2 Kind: ContainerizedWorkload Name: example-appconfig-workload Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal RenderedComponents 6s (x2 over 7s) oam/applicationconfiguration.core.oam.dev Successfully rendered components Normal AppliedComponents 6s (x2 over 6s) oam/applicationconfiguration.core.oam.dev Successfully applied components Normal Deployment created 6s (x3 over 6s) ContainerizedWorkload Workload `example-appconfig-workload` successfully server side patched a deployment `example-appconfig-workload` Normal Service created 6s (x3 over 6s) ContainerizedWorkload Workload `example-appconfig-workload` successfully server side patched a service `example-appconfig-workload` Normal Manual scalar applied 6s (x2 over 6s) ManualScalarTrait Trait `example-appconfig-trait` successfully scaled a resouce to 3 instances You should also check underlying deployment and service looking like below kubectl get deployments NAME READY UP-TO-DATE AVAILABLE AGE example-appconfig-workload-deployment 3/3 3 3 28s kubectl get services AME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE example-appconfig-workload-deployment-service NodePort 10.96.78.215 <none> 8080/TCP 28s
Create namespace for OAM runtime controller
Add helm repo
Install OAM Kubernetes Runtime
Step 1: Admission Webhook need you to prepare certificates and ca for production use. For none-production use, you could generate them by running the shell script provided in repo. curl -sfL https://raw.githubusercontent.com/crossplane/oam-kubernetes-runtime/master/hack/ssl/ssl.sh | bash -s oam-kubernetes-runtime-webhook oam-system The shell will generate files like below: $ tree . ├── csr.conf ├── oam-kubernetes-runtime-webhook.csr ├── oam-kubernetes-runtime-webhook.key └── oam-kubernetes-runtime-webhook.pem 0 directories, 4 files
Step 2: Create secret for ssl certificates: Notice the server key and certificate must be named tls.key and tls.crt, respectively. Secret name can be user defined, we'd better align with chart values. kubectl -n oam-system create secret generic webhook-server-cert --from-file=tls.key=./oam-kubernetes-runtime-webhook.key --from-file=tls.crt=./oam-kubernetes-runtime-webhook.pem
Step 3: Get CA Bundle info and install with its value caValue=`kubectl config view --raw --minify --flatten -o jsonpath='{.clusters[].cluster.certificate-authority-data}'` helm install core-runtime -n oam-system ./charts/oam-kubernetes-runtime --set useWebhook=true --set certificate.caBundle=$caValue
We have some examples in the repo for you to verify the OAM control plane is working:. Apply a sample application configuration. Verify that the application is running.
We have some examples in the repo for you to verify the OAM control plane is working: git clone git@github.com:crossplane/oam-kubernetes-runtime.git cd ./oam-kubernetes-runtime
Apply a sample application configuration kubectl apply -f examples/containerized-workload
Verify that the application is running Check its components: kubectl get components NAME WORKLOAD-KIND AGE example-component ContainerizedWorkload 63s Check its application configuration: kubectl get appconfig NAME AGE example-appconfig 3m48s Check the status and events from the application: kubectl describe appconfig example-appconfig Status: Conditions: Last Transition Time: 2020-06-12T21:18:40Z Reason: Successfully reconciled resource Status: True Type: Synced Workloads: Component Name: example-component Traits: Trait Ref: API Version: core.oam.dev/v1alpha2 Kind: ManualScalerTrait Name: example-appconfig-trait Workload Ref: API Version: core.oam.dev/v1alpha2 Kind: ContainerizedWorkload Name: example-appconfig-workload Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal RenderedComponents 6s (x2 over 7s) oam/applicationconfiguration.core.oam.dev Successfully rendered components Normal AppliedComponents 6s (x2 over 6s) oam/applicationconfiguration.core.oam.dev Successfully applied components Normal Deployment created 6s (x3 over 6s) ContainerizedWorkload Workload `example-appconfig-workload` successfully server side patched a deployment `example-appconfig-workload` Normal Service created 6s (x3 over 6s) ContainerizedWorkload Workload `example-appconfig-workload` successfully server side patched a service `example-appconfig-workload` Normal Manual scalar applied 6s (x2 over 6s) ManualScalarTrait Trait `example-appconfig-trait` successfully scaled a resouce to 3 instances You should also check underlying deployment and service looking like below kubectl get deployments NAME READY UP-TO-DATE AVAILABLE AGE example-appconfig-workload-deployment 3/3 3 3 28s kubectl get services AME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE example-appconfig-workload-deployment-service NodePort 10.96.78.215 <none> 8080/TCP 28s
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page