Categorygithub.com/crossplane/addon-oam-kubernetes-remote
module
0.0.0-20200612040710-100c4a1e5085
Repository: https://github.com/crossplane/addon-oam-kubernetes-remote.git
Documentation: pkg.go.dev

# README

addon-oam-kubernetes-remote

The OAM Kubernetes Remote Addon allows for scheduling the resources created by the ApplicationConfiguration controller to a remote Kubernetes cluster.

Examples

The functionality of this addon can be demonstrated with the following steps:

  1. Install Crossplane and provider-gcp

Directions for this step can be found in the Crossplane docs.

  1. Add GCP provider credentials

Directions for this step can be found in the Crossplane docs.

  1. Create GKEClusterClass
kubectl apply -f examples/gkeclusterclass.yaml
  1. Create KubernetesCluster claim
kubectl apply -f examples/k8scluster.yaml
  1. Once the KubernetesCluster becomes bound, create the ApplicationConfiguration and its corresponding resources
kubectl apply -f examples/wordpress/app.yaml
  1. View created KubernetesApplication and KubernetesApplicationResources
kubectl get kubernetesapplications
kubectl get kubernetesapplicationresources
  1. View resources in remote cluster
kubectl get secret k8scluster --template={{.data.kubeconfig}} | base64 --decode > remote.kubeconfig
kubectl --kubeconfig=remote.kubeconfig get deployments
kubectl --kubeconfig=remote.kubeconfig get services

# Packages

No description provided by the author
No description provided by the author