Open Cluster Management API

Related tags

api
Overview

Open Cluster Management API

Go Report Card

The api repository defines relevant concepts and types for problem domains related to managing 0..* Kubernetes clusters.

Community, discussion, contribution, and support

Check the CONTRIBUTING Doc for how to contribute to the repo.


Getting Started

Prerequisites

Check the Development Doc for how to contribute to the repo.

Security Response

If you've found a security issue that you'd like to disclose confidentially please contact Red Hat's Product Security team. Details at https://access.redhat.com/security/team/contact

Issues
  • Make ManagedClusterSet exclusive

    Make ManagedClusterSet exclusive

    We have a proposal about how to make ManagedClusterSet exclusive: https://docs.google.com/document/d/1Dl-8g6pJS6wA-MXiaBijDjwXLPX7cJ-HQCoQKIRDze0/edit#, which was discussed in ACM Architecture Topics Open Forum on Sept. 3rd. And it's agreed that option 3 is a better solution. That's the reason why I made this change.

    lgtm approved 
    opened by elgnay 13
  • Bugfix: Adding `omitempty` jsontag for ManifestWork.status.conditions

    Bugfix: Adding `omitempty` jsontag for ManifestWork.status.conditions

    $ kubectl apply --server-side -f manifestwork-example.yaml .... .... I0506 15:03:19.363009 25916 request.go:1097] Request Body: {"apiVersion":"work.open-cluster-management.io/v1","kind":"ManifestWork","metadata":{"creationTimestamp":"2021-04-30T12:18:44Z","labels":{"foo":"bar"},"name":"demo-test","namespace":"zuoxiu-local"},"status":{"conditions":[]}} .... .... I0506 15:03:19.386561 25916 request.go:1097] Response Body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Apply failed with 1 conflict: conflict with "work" using work.open-cluster-management.io/v1: .status.conditions","reason":"Conflict","details":{"causes":[{"reason":"FieldManagerConflict","message":"conflict with "work" using work.open-cluster-management.io/v1","field":".status.conditions"}]},"code":409} F0506 15:03:19.387107 25916 helpers.go:115] error: Apply failed with 1 conflict: conflict with "work" using work.open-cluster-management.io/v1: .status.conditions Please review the fields above--they currently have other managers. Here...

    b/c the status.conditions field doesnt have the omitempty tag, the server-side applying for manifestwork resources will be constantly failing due to apply conflict. as we can tell from the patch request body, a correct SSA body omitting status subresource should be {"status":{}}, this pull will make SSA work on the manifestwork resources.

    lgtm approved dco-signoff: yes ok-to-test 
    opened by yue9944882 12
  • Add placement APIs

    Add placement APIs

    The related task: https://github.com/open-cluster-management/backlog/issues/10715

    The enhancement proposal: https://github.com/open-cluster-management/enhancements/tree/master/enhancements/sig-architecture/6-placements

    Signed-off-by: Yang Le [email protected]

    lgtm approved dco-signoff: yes 
    opened by elgnay 12
  • Update s/SpokeCluster/ManagedCluster/g

    Update s/SpokeCluster/ManagedCluster/g

    • Update cluster/v1 API to be consistent with ManagedCluster naming.
    • Minor edits to documentation
    lgtm approved 
    opened by mdelder 10
  • Update crd version to v1

    Update crd version to v1

    opened by qiujian16 10
  • add short name mcl for managedCluster

    add short name mcl for managedCluster

    Signed-off-by: Zhiwei Yin [email protected] story: https://github.com/open-cluster-management/backlog/issues/12424

    lgtm approved dco-signoff: yes 
    opened by zhiweiyin318 9
  • Add work API

    Add work API

    lgtm approved 
    opened by qiujian16 9
  • Enable preserveUnknowField

    Enable preserveUnknowField

    This is to set preserveUnknowField in work api to true, since we have runtime.RawExtension in the spec.

    lgtm approved 
    opened by qiujian16 8
  • Add addon registration configuration

    Add addon registration configuration

    lgtm approved dco-signoff: yes 
    opened by qiujian16 7
  • Add nucleus operator API

    Add nucleus operator API

    lgtm approved 
    opened by qiujian16 7
  • Codegen scripts doesnt work outside GOPATH with go mod

    Codegen scripts doesnt work outside GOPATH with go mod

    if the project is outside of GOPATH directory and with the env var unset, running make update will generate the whole package path open-cluster-management/api/client/... in the project. the expected output should be omitting the extra parent paths i.e. client/....

    one way to fix this is to switch the code-generator to controller-gen which runs perfect in go mod mode.

    opened by yue9944882 0
  • Addon-Api: Optional structs should be pointer

    Addon-Api: Optional structs should be pointer

    the tags omitempty on the the plain struct will not work, and conventionally in k8s api semantics we're supposed to make the struct field with // +optional marker a pointer to clarify its optionality. also, this will help trimming serialized json/yaml outputs.

    opened by yue9944882 3
  • request for docs updating for cluster join process

    request for docs updating for cluster join process

    Currently, I followed quick start of registration to register a cluster, and the cluster registered succeeded, but I found the docs of cluster join process is outdated. For example:

    • [ ] clusterrolebinding's name is not correct, I did not find any clusterrolebing named system:open-cluster-management:clusterName:agentName in my cluster, I think it should be open-cluster-management:managedcluster:clusterName(https://github.com/open-cluster-management-io/registration/pull/55 gave me some clue)
    1. hub-controller creates a clusterrolebinding on the hub with the identity of system:open-cluster-management:clusterName:agentName

    The cluster join process doc is very important for newcomers to understand the whole cluster registration process, very nice if it could be updated(very pleased to try to do it by myself when I figure out the whole process). Thanks a lot.

    opened by zhujian7 2
  • request the clusterclaim docs

    request the clusterclaim docs

    Below was the current docs this repo have.

    % tree docs
    docs
    ├── clusterhealthcheck.md
    ├── clusterjoinprocess.md
    ├── clusterset.md
    ├── design.md
    ├── development.md
    └── manifestwork.md
    
    0 directories, 6 files
    

    @qiujian16 do we have any docs to describe the clusterclaim

    opened by hchenxa 1
  • update placement doc

    update placement doc

    opened by elgnay 2
  • Add validation for apis

    Add validation for apis

    needs-rebase dco-signoff: yes 
    opened by qiujian16 2
Owner
Open Cluster Management
Open Cluster Management
Confluent Golang SDK

Confluent Platform Client Maintainer: Quan Phuong [email protected] Provide Go client for Confluent platform, reference Confluent API document and C

Wayarmy 4 Aug 29, 2021
The MinIO Admin Go Client SDK provides APIs to manage MinIO services

Golang Admin Client API Reference The MinIO Admin Golang Client SDK provides APIs to manage MinIO services. This quickstart guide will show you how to

High Performance, Kubernetes Native Object Storage 13 Sep 23, 2021
MinIO Client SDK for Go

MinIO Go Client SDK for Amazon S3 Compatible Cloud Storage The MinIO Go Client SDK provides simple APIs to access any Amazon S3 compatible object stor

High Performance, Kubernetes Native Object Storage 1.4k Sep 21, 2021
Go client library for Atlassian Jira

go-jira Go client library for Atlassian Jira. Features Authentication (HTTP Basic, OAuth, Session Cookie) Create and retrieve issues Create and retrie

Andy Grunwald 967 Sep 24, 2021
AWS SDK for the Go programming language.

AWS SDK for Go aws-sdk-go is the official AWS SDK for the Go programming language. Checkout our release notes for information about the latest bug fix

Amazon Web Services 7.1k Sep 23, 2021
Useful AWS access key attribution tool

whodunnit Working towards this: https://twitter.com/__steele/status/1410437278489477120. Dumping code now to validate if it's useful or not before inv

Glass Echidna 6 Aug 24, 2021
A GO API library for working with Marathon

Go-Marathon Go-marathon is a API library for working with Marathon. It currently supports Application and group deployment Helper filters for pulling

Rohith Jayawardene 196 Jul 18, 2021
⚡️ SharePoint authentication, HTTP client & fluent API wrapper for Go (Golang)

Gosip - SharePoint authentication, HTTP client & fluent API wrapper for Go (Golang) Main features Unattended authentication using different strategies

Andrew Koltyakov 64 Sep 15, 2021
GoStorm is a Go library that implements the communications protocol required to write Storm spouts and Bolts in Go that communicate with the Storm shells.

gostorm godocs GoStorm is a Go library that implements the communications protocol required for non-Java languages to communicate as part of a storm t

John Gilmore 127 Jun 3, 2021
A Facebook Graph API SDK For Go.

A Facebook Graph API SDK In Golang This is a Go package that fully supports the Facebook Graph API with file upload, batch request and marketing API.

Huan Du 1k Sep 23, 2021
CoWIN Vaccine availability notifier for India

covaccine-notifier CoWIN Portal Vaccine availability notifier covaccine-notifier periodically checks and sends email notifications for available slots

Prasad Ghangal 67 Jul 26, 2021
Go(lang) client library for accessing information of an Apache Mesos cluster.

megos Go(lang) client library for accessing an Apache Mesos cluster. Features Determine the Mesos leader Get the current state of every mesos node (ma

Andy Grunwald 54 Jul 18, 2021
OpenTelemetry-Go is the Go implementation of OpenTelemetry

OpenTelemetry-Go is the Go implementation of OpenTelemetry. It provides a set of APIs to directly measure performance and behavior of your software and send this data to observability platforms.

OpenTelemetry - CNCF 1.9k Sep 24, 2021
Extend KIND networking capabilities with plugins using the KIND API

kind-networking-plugins Plugins to extend KIND networking capabilities with plugins using the KIND API These plugins were used for the Kubecon EU 2021

Antonio Ojea 14 Jun 11, 2021
lambda-go-api-proxy makes it easy to port APIs written with Go frameworks such as Gin to AWS Lambda and Amazon API Gateway.

aws-lambda-go-api-proxy makes it easy to run Golang APIs written with frameworks such as Gin with AWS Lambda and Amazon API Gateway.

Amazon Web Services - Labs 542 Sep 19, 2021
NEAR client written in Go

near-api-go A NEAR client written in Go The goal of this project is to provide a fully featured NEAR cleint in Go. There is support for most NEAR RPC

textile.io 5 Sep 1, 2021
An easy-to-use unofficial SDK for Feishu and Lark Open Platform

go-lark go-lark is an easy-to-use unofficial SDK for Feishu and Lark Open Platform. go-lark implements messaging APIs, with full-fledged supports on b

go-lark-sdk 60 Sep 13, 2021
Go library to access geocoding and reverse geocoding APIs

GeoService in Go Code Coverage A geocoding service developed in Go's way, idiomatic and elegant, not just in golang. This product is designed to open

Jerry Zhao 411 Sep 14, 2021
Golang bindings for the Telegram Bot API

Golang bindings for the Telegram Bot API

null 3.1k Sep 23, 2021