operator

command
v1.0.2-0...-2e0d4d3 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

README

Function Operator

The Function Operator is a Kubernetes controller that install Serverless.

Prerequisites

The Function Operator requires the following components to be installed:

Development

Installing Locally Built Serverless Operator Image on k3d With Serverless

Prerequisite:

  • installed Operator on a cluster

To install serverless-manager from local sources on the k3d cluster run:

make install-operator-k3d

This target:

  • builds local image with serverless-operator
  • tags local the serverless-operator image with its hash to be sure the deployment is updated
  • uploads local image to k3d
  • updates the image in the serverless-operator deployment
Running/Debugging serverless-operator Locally

To develop the component as a normal binary, set up environment variables.

Environment Variables
The Function Operator Uses These Environment Variables:
Variable Description Default value
CHART_PATH Location of the Serverless chart /module-chart
SERVERLESS_MANAGER_UID Unique ID of operator instance. Used to mark created resources to distinguish which version of the Operator created it. ``

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +kubebuilder:object:generate=true +groupName=operator.kyma-project.io
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +kubebuilder:object:generate=true +groupName=operator.kyma-project.io
internal

Jump to

Keyboard shortcuts

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