nodes-grouping

command module
v0.0.0-...-d4f16e2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

README

NodesGrouping

采用operator-sdk构建

相关命令

# 初始化项目
$ operator-sdk init --domain=harmonycloud.io --repo=github.com/Congrool/nodes-grouping

# 创建API
$ operator-sdk create api --group=cluster --version=v1alpha1 --kind=Cluster
$ operator-sdk create api --group=policy --version=v1alpha1 --king=PropagationPolicy

# 修改crd type后,重新生成deepcopy函数
$ make generate

# 在k8s中注册crd
$ make install

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
apis/cluster/v1alpha1
Package v1alpha1 contains API Schema definitions for the cluster.harmonycloud.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=cluster.harmonycloud.io
Package v1alpha1 contains API Schema definitions for the cluster.harmonycloud.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=cluster.harmonycloud.io
apis/policy/v1alpha1
Package v1alpha1 contains API Schema definitions for the policy v1alpha1 API group +kubebuilder:object:generate=true +groupName=policy.harmonycloud.io
Package v1alpha1 contains API Schema definitions for the policy v1alpha1 API group +kubebuilder:object:generate=true +groupName=policy.harmonycloud.io

Jump to

Keyboard shortcuts

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