addon-oam-kubernetes-remote

module
v0.0.0-...-100c4a1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2020 License: Apache-2.0

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

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL