cluster-api-provider-ovirt

module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2019 License: Apache-2.0

README

Kubernetes cluster-api-provider-ovirt Project

https://github.com/oVirt/cluster-api-provider-ovirt

UNDER HEAVY DEVELOPMENT

Implementation of the oVirt provider for the cluster-api project.

Community, discussion, contribution, and support

Learn how to engage with the Kubernetes community on the community page.

You can reach the maintainers of this project at:

Code of conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.

Getting Started

Prerequisites
  1. Install kubectl (see here).
  2. Install minikube, version 0.30.0 or greater.
  3. Install a driver for minikube. For Linux, we recommend kvm2. For MacOS, we recommend VirtualBox.
  4. An appropriately configured Go development environment
  5. Build the clusterctl tool
Cluster Creation
./clusterctl create cluster --help
Interacting with your cluster

Once you have created a cluster, you can interact with the cluster and machine resources using kubectl:

kubectl --kubeconfig=kubeconfig get clusters
kubectl --kubeconfig=kubeconfig get machines
kubectl --kubeconfig=kubeconfig get machines -o yaml
Cluster Deletion
  1. Delete all of the node Machines in the cluster. Make sure to wait for the corresponding Nodes to be deleted before moving onto the next step. After this step, the master node will be the only remaining node.

    kubectl --kubeconfig=kubeconfig delete machines -l set=node
    kubectl --kubeconfig=kubeconfig get nodes
    
  2. Delete the master machine.

    kubectl --kubeconfig=kubeconfig delete machines -l set=master
    
  3. Delete the ssh keypair that were created for your cluster machine.

    rm -rf $HOME/.ssh/ovirt_tmp*
    

Directories

Path Synopsis
cmd
pkg
apis
Package apis contains Kubernetes API groups.
Package apis contains Kubernetes API groups.
apis/ovirtclusterproviderconfig/v1alpha1
+k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/rgolangh/cluster-api/cluster-api-provider-ovirt/pkg/apis/ovirtclusterproviderconfig +k8s:openapi-gen=true +k8s:defaulter-gen=TypeMeta +groupName=ovirtclusterproviderconfig.k8s.io
+k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/rgolangh/cluster-api/cluster-api-provider-ovirt/pkg/apis/ovirtclusterproviderconfig +k8s:openapi-gen=true +k8s:defaulter-gen=TypeMeta +groupName=ovirtclusterproviderconfig.k8s.io

Jump to

Keyboard shortcuts

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