crossplane-provider-spot

module
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0

README

Provider Spot

crossplane-provider-spot is a Crossplane provider that is built using Upjet code generation tools and exposes XRM-conformant managed resources for the Spot API.

Getting Started

Install the provider by using the following command after changing the image tag to the latest release:

up ctp provider install xpkg.upbound.io/spot-by-netapp/crossplane-provider-spot:v0.6.0

Alternatively, you can use declarative installation:

cat <<EOF | kubectl apply -f -
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: crossplane-provider-spot
spec:
  package: xpkg.upbound.io/spot-by-netapp/crossplane-provider-spot:v0.6.0
EOF

Notice that in this example Provider resource is referencing ControllerConfig with debug enabled.

You can see the API reference here.

Developing

Run code-generation pipeline:

go run cmd/generator/main.go "$PWD"

Run against a Kubernetes cluster:

make run

Build, push, and install:

make all

Build binary:

make build

Report a Bug

For filing bugs, suggesting improvements, or requesting new features, please open an issue.

Directories

Path Synopsis
Package apis contains Kubernetes API for the provider.
Package apis contains Kubernetes API for the provider.
oceanaks/v1alpha1
+kubebuilder:object:generate=true +groupName=oceanaks.spot.upbound.io +versionName=v1alpha1
+kubebuilder:object:generate=true +groupName=oceanaks.spot.upbound.io +versionName=v1alpha1
oceanaksvng/v1alpha1
+kubebuilder:object:generate=true +groupName=oceanaksvng.spot.upbound.io +versionName=v1alpha1
+kubebuilder:object:generate=true +groupName=oceanaksvng.spot.upbound.io +versionName=v1alpha1
oceanaws/v1alpha1
+kubebuilder:object:generate=true +groupName=oceanaws.spot.upbound.io +versionName=v1alpha1
+kubebuilder:object:generate=true +groupName=oceanaws.spot.upbound.io +versionName=v1alpha1
oceanawslaunchspec/v1alpha1
+kubebuilder:object:generate=true +groupName=oceanawslaunchspec.spot.upbound.io +versionName=v1alpha1
+kubebuilder:object:generate=true +groupName=oceanawslaunchspec.spot.upbound.io +versionName=v1alpha1
oceangke/v1alpha1
+kubebuilder:object:generate=true +groupName=oceangke.spot.upbound.io +versionName=v1alpha1
+kubebuilder:object:generate=true +groupName=oceangke.spot.upbound.io +versionName=v1alpha1
oceangkevng/v1alpha1
+kubebuilder:object:generate=true +groupName=oceangkevng.spot.upbound.io +versionName=v1alpha1
+kubebuilder:object:generate=true +groupName=oceangkevng.spot.upbound.io +versionName=v1alpha1
oceanrightsizingrule/v1alpha1
+kubebuilder:object:generate=true +groupName=oceanrightsizingrule.spot.upbound.io +versionName=v1alpha1
+kubebuilder:object:generate=true +groupName=oceanrightsizingrule.spot.upbound.io +versionName=v1alpha1
v1alpha1
Package v1alpha1 contains the core resources of the spot jet provider.
Package v1alpha1 contains the core resources of the spot jet provider.
v1beta1
Package v1beta1 contains the core resources of the spot upjet provider.
Package v1beta1 contains the core resources of the spot upjet provider.
cmd
internal

Jump to

Keyboard shortcuts

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