当前位置: 首页 > 软件库 > 云计算 > 云原生 >

operator-sdk

授权协议 Apache-2.0 License
开发语言 Google Go
所属分类 云计算、 云原生
软件类型 开源软件
地区 不详
投 递 者 诸葛品
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Build Status

Documentation

Docs can be found on the Operator SDK website.

Overview

This project is a component of the Operator Framework, anopen source toolkit to manage Kubernetes native applications, calledOperators, in an effective, automated, and scalable way. Read more inthe introduction blog post.

Operators make it easy to manage complex statefulapplications on top of Kubernetes. However writing an Operator today canbe difficult because of challenges such as using low level APIs, writingboilerplate, and a lack of modularity which leads to duplication.

The Operator SDK is a framework that uses thecontroller-runtime library to make writingoperators easier by providing:

  • High level APIs and abstractions to write the operational logic more intuitively
  • Tools for scaffolding and code generation to bootstrap a new project fast
  • Extensions to cover common Operator use cases

Dependency and platform support

Go version

Release binaries will be built with the Go compiler version specified in the developer guide.A Go Operator project's Go version can be found in its go.mod file.

Kubernetes versions

Supported Kubernetes versions for your Operator project or relevant binary can be determinedby following this compatibility guide.

Platforms

The set of supported platforms for all binaries and images can be found in these tables.

Community and how to get involved

How to contribute

Check out the contributor documentation.

License

Operator SDK is under Apache 2.0 license. See the LICENSE file for details.

  • ##格式 $ operator-sdk <command> [<subcommand>] [<argument>] [<flags>] 1. operator-sdk build 命令编译代码并生成可执行文件 operator-sdk build quay.io/example/operator:v0.0.1 2. operator-sdk completion 生成bash补全 operat

  • operator-sdk是operator framework的一部分,是一个致力于简化整个opearator creation的整个过程的一个社区项目。有了operator-sdk,我们只需要在control loop里面写定制的operational逻辑就可以了。 三种operator SDK supports: 类型 生成的objects 你需要做 Go Operator General g

  • 前言 通过operator-sdk我们可以简单的创建自己k8s应用。 官方的文档其实已经很详细了。这篇文章主要记录了,在根据官方文档一步步做的过程当中完整的一个过程。相比官方的文档会更加详细一些。 如果仅仅只是想要使用通过官方的步骤已经创建好的image,我已经有创建好一个,可以通过以下命令获取。 # docker pull feli5/app-operator 前提条件 一台CentOS,物理

  • operator sdk v0.x和v1.x的区别 operator sdk和kubebuilder整合后(以kubebuilder为主),operator sdk发布了v1.x版本,operator sdk的项目layout、scaffold、dependency、 usage、code等发生了变化 底层相似:under the hood using controller-runtime、con

  • 原文连接:https://blog.csdn.net/weixin_33918114/article/details/92211707 概览 原文来自:https://github.com/operator-framework/operator-sdk 该项目是 Operator Framework的组成部分, 是一个开源的工具用于管理 Kubernetes 原生的应用, 称为 Operators

  • 可以选择源码安装和二进制文件安装 源码安装 git clone https://github.com/operator-framework/operator-sdk cd operator-sdk git checkout master make install 编译成功后命令operator-sdk将被安装到 $GOPATH/bin目录下,需要将该目录配置到系统的 $PATH中。 二进制文件安

  • operator命令 定义API/Controller make generate 生成/修改框架自带的 *_types.go make manifests 生成CRD文件 make install 安装CRD到集群 镜像构建 make docker-build IMG=xianyuluo/website-operator:v1.0.0 构建镜像 make docker-push IMG=xian

  • 参考 知乎文章 Kubernetes Operator 快速入门教程, ​ Operator sdk github ​ 安装 参考 operator sdk 官方安装文档 # set platform information export ARCH=$(case $(uname -m) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *)

  • mkdir memcached-operator cd memcached-operator operator-sdk init --domain example.com --repo github.com/example/memcached-operator operator-sdk create api --group cache --version v1alpha1 --kind Memc

 相关资料
  • Operator SDK 由 CoreOS 开源,它是用于构建 Kubernetes 原生应用的 SDK,它提供更高级别的 API、抽象和项目脚手架。在阅读本文前请先确认您已经了解 Operator是什么。 使用 Kubernetes 中原生的对象来部署和管理复杂的应用程序不是那么容易,尤其是要管理整个应用的生命周期、组件的扩缩容,我们之前通常是编写各种脚本,通过调用 Kubernetes 的命令

  • Operator是由CoreOS开发的,用来扩展Kubernetes API,特定的应用程序控制器,它用来创建、配置和管理复杂的有状态应用,如数据库、缓存和监控系统。Operator基于Kubernetes的资源和控制器概念之上构建,但同时又包含了应用程序特定的领域知识。创建Operator的关键是CRD(自定义资源)的设计。 工作原理 Operator是将运维人员对软件操作的知识给代码化,同时利

  • 问题内容: 我正在使用大型JS库在画布中执行某些绘图操作。查看库代码(进行相应更改),我遇到了“ ||” 以肯定不应该为布尔值的方式使用运算符。这是否意味着这是一个不同的运算符,还是我缺少明显的内容?下面是一个示例: 问题答案: 该运营商的计算结果为第一个操作数,如果它可以转换为true或最后一个操作数,否则。因此,在您的示例中将是它是否存在,否则是声明的函数。

  • 条件运算符? :是C中唯一的三元运算符。 ? :条件运算符语法 expression1 ? expression2 : expression3 首先评估Expression1。 如果其值为true,则计算expression2并忽略expression3。 如果expression1被评估为false,则表达式3计算并忽略expression2。 结果将是expression2或expressi

  • Exp1 ? Exp2 : Exp3; 其中Exp1,Exp2和Exp3是表达式。 注意结肠的使用和放置。 一个值? 表达式的确定方式如下:评估Exp1。 如果是,那么Exp2会被评估并成为整个值吗? 表达。 如果Exp1为false,则计算Exp3,其值将成为表达式的值。 的? 被称为三元运算符,因为它需要三个操作数,可以用来替换if-else语句,它们具有以下形式 - if(conditio

  • TiDB Operator 是 Kubernetes 上的 TiDB 集群自动运维系统,提供包括部署、升级、扩缩容、备份恢复、配置变更的 TiDB 全生命周期管理。借助 TiDB Operator,TiDB 可以无缝运行在公有云或私有部署的 Kubernetes 集群上。 架构 架构详解点击 这里 即可查看。 核心亮点 1. 简化 TiDB 运维管理 TiDB 是一个复杂的分布式系统,它的部署和运