Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔄 synced file(s) with kube-arbiter/arbiter #140

Merged
merged 1 commit into from
Jul 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions manifests/crds/arbiter.k8s.com.cn_schedulers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null
name: schedulers.arbiter.k8s.com.cn
spec:
group: arbiter.k8s.com.cn
names:
kind: Scheduler
listKind: SchedulerList
plural: schedulers
singular: scheduler
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: Scheduler ...
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: ElasticQuotaSpec defines the Min and Max for Quota.
properties:
score:
type: string
type: object
status:
description: ElasticQuotaStatus defines the observed use.
type: object
type: object
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
9 changes: 9 additions & 0 deletions tests/prepare-k8s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,21 @@ function kind_up_cluster {
# https://github.com/kubernetes-sigs/kind/releases
case $K8S_VERSION in
v1.18 | v1.18.20)
go install sigs.k8s.io/kind@v0.15.0
mv $HOME/go/bin/kind /usr/local/bin/kind
kind version
kind_image="kindest/node:v1.18.20@sha256:61c9e1698c1cb19c3b1d8151a9135b379657aee23c59bde4a8d87923fcb43a91"
;;
v1.19 | v1.19.16)
go install sigs.k8s.io/kind@v0.17.0
mv $HOME/go/bin/kind /usr/local/bin/kind
kind version
kind_image="kindest/node:v1.19.16@sha256:707469aac7e6805e52c3bde2a8a8050ce2b15decff60db6c5077ba9975d28b98"
;;
v1.20 | v1.20.15)
go install sigs.k8s.io/kind@v0.17.0
mv $HOME/go/bin/kind /usr/local/bin/kind
kind version
kind_image="kindest/node:v1.20.15@sha256:d67de8f84143adebe80a07672f370365ec7d23f93dc86866f0e29fa29ce026fe"
;;
v1.21 | v1.21.14)
Expand Down