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

Upstream refresh vinay #301

Closed
wants to merge 22 commits into from
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Adding outlier crd
Signed-off-by: vinay-g <[email protected]>
vinay-g committed Jul 23, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 0d16d7bdc16eec4e352a4fddd3fe8c8a7c9069d8
82 changes: 81 additions & 1 deletion install/admiral/base/crds.yaml
Original file line number Diff line number Diff line change
@@ -186,4 +186,84 @@ spec:
- spec
type: object
served: true
storage: true
storage: true
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: outlierdetections.admiral.io
spec:
group: admiral.io
names:
kind: OutlierDetection
listKind: OutlierDetectionList
plural: outlierdetections
singular: outlierdetection
shortNames:
- od
- ods
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: generic cdr object to wrap the OutlierDetection api
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:
properties:
outlier_config:
description: 'REQUIRED: base outlier configuration.'
properties:
base_ejection_time:
description: 'REQUIRED: Minimum duration of time in seconds, the
endpoint will be ejected'
format: int64
type: integer
consecutive_gateway_errors:
description: 'REQUIRED: No. of consecutive failures in specified
interval after which the endpoint will be ejected'
format: int32
type: integer
interval:
description: 'REQUIRED: Time interval between ejection sweep analysis'
format: int64
type: integer
type: object
selector:
additionalProperties:
type: string
description: 'REQUIRED: One or more labels that indicate a specific
set of pods/VMs on which this outlier configuration should be applied.
The scope of label search is restricted to namespace mark for mesh
enablement this will scan all cluster and namespace'
type: object
type: object
status:
properties:
clustersSynced:
format: int32
type: integer
state:
type: string
required:
- clustersSynced
- state
type: object
required:
- metadata
- spec
type: object
served: true
storage: true