Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mrhillsman/18d6831bf36caafeaeac001bf0813ec1 to your computer and use it in GitHub Desktop.
Save mrhillsman/18d6831bf36caafeaeac001bf0813ec1 to your computer and use it in GitHub Desktop.
apiextensions.k8s.io/v1 CRD for submariner CR
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: submariners.submariner.io
spec:
group: submariner.io
names:
kind: Submariner
listKind: SubmarinerList
plural: submariners
singular: submariner
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: submariner is the schema for the submariners 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/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/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: submarinerspec defines the desired state of submariner
properties:
broker:
type: string
brokerk8sapiserver:
type: string
brokerk8sapiservertoken:
type: string
brokerk8sca:
type: string
brokerk8sremotenamespace:
type: string
cabledriver:
type: string
ceipsecdebug:
type: boolean
ceipsecikeport:
type: integer
ceipsecnattport:
type: integer
ceipsecpsk:
type: string
clustercidr:
type: string
clusterid:
type: string
colorcodes:
type: string
debug:
type: boolean
globalcidr:
type: string
namespace:
type: string
natenabled:
type: boolean
repository:
type: string
servicecidr:
type: string
servicediscoveryenabled:
type: boolean
version:
type: string
required:
- broker
- brokerk8sapiserver
- brokerk8sapiservertoken
- brokerk8sca
- brokerk8sremotenamespace
- ceipsecdebug
- ceipsecpsk
- clustercidr
- clusterid
- debug
- namespace
- natenabled
- servicecidr
type: object
status:
description: submarinerstatus defines the observed state of submariner
properties:
clustercidr:
type: string
clusterid:
type: string
colorcodes:
type: string
enginedaemonsetstatus:
description: daemonsetstatus represents the current status of a daemon
set.
properties:
collisioncount:
description: count of hash collisions for the daemonset. the daemonset
controller uses this field as a collision avoidance mechanism
when it needs to create the name for the newest controllerrevision.
format: int32
type: integer
conditions:
description: represents the latest available observations of a daemonset's
current state.
items:
description: daemonsetcondition describes the state of a daemonset
at a certain point.
properties:
lasttransitiontime:
description: last time the condition transitioned from one
status to another.
format: date-time
type: string
message:
description: a human readable message indicating details about
the transition.
type: string
reason:
description: the reason for the condition's last transition.
type: string
status:
description: status of the condition, one of true, false,
unknown.
type: string
type:
description: type of daemonset condition.
type: string
required:
- status
- type
type: object
type: array
currentnumberscheduled:
description: 'the number of nodes that are running at least 1 daemon
pod and are supposed to run the daemon pod. more info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/'
format: int32
type: integer
desirednumberscheduled:
description: 'the total number of nodes that should be running the
daemon pod (including nodes correctly running the daemon pod).
more info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/'
format: int32
type: integer
numberavailable:
description: the number of nodes that should be running the daemon
pod and have one or more of the daemon pod running and available
(ready for at least spec.minreadyseconds)
format: int32
type: integer
numbermisscheduled:
description: 'the number of nodes that are running the daemon pod,
but are not supposed to run the daemon pod. more info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/'
format: int32
type: integer
numberready:
description: the number of nodes that should be running the daemon
pod and have one or more of the daemon pod running and ready.
format: int32
type: integer
numberunavailable:
description: the number of nodes that should be running the daemon
pod and have none of the daemon pod running and available (ready
for at least spec.minreadyseconds)
format: int32
type: integer
observedgeneration:
description: the most recent generation observed by the daemon set
controller.
format: int64
type: integer
updatednumberscheduled:
description: the total number of nodes that are running updated
daemon pod
format: int32
type: integer
required:
- currentnumberscheduled
- desirednumberscheduled
- numbermisscheduled
- numberready
type: object
gateways:
items:
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/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/api-conventions.md#types-kinds'
type: string
metadata:
type: object
status:
properties:
connections:
items:
properties:
endpoint:
properties:
backend:
type: string
backend_config:
additionalproperties:
type: string
type: object
cable_name:
type: string
cluster_id:
type: string
hostname:
type: string
nat_enabled:
type: boolean
private_ip:
type: string
public_ip:
type: string
subnets:
items:
type: string
type: array
required:
- backend
- cable_name
- cluster_id
- hostname
- nat_enabled
- private_ip
- public_ip
- subnets
type: object
status:
type: string
statusmessage:
type: string
required:
- endpoint
- status
- statusmessage
type: object
type: array
hastatus:
type: string
localendpoint:
properties:
backend:
type: string
backend_config:
additionalproperties:
type: string
type: object
cable_name:
type: string
cluster_id:
type: string
hostname:
type: string
nat_enabled:
type: boolean
private_ip:
type: string
public_ip:
type: string
subnets:
items:
type: string
type: array
required:
- backend
- cable_name
- cluster_id
- hostname
- nat_enabled
- private_ip
- public_ip
- subnets
type: object
statusfailure:
type: string
version:
type: string
required:
- connections
- hastatus
- localendpoint
- statusfailure
- version
type: object
required:
- status
type: object
type: array
globalcidr:
type: string
globalnetdaemonsetstatus:
description: daemonsetstatus represents the current status of a daemon
set.
properties:
collisioncount:
description: count of hash collisions for the daemonset. the daemonset
controller uses this field as a collision avoidance mechanism
when it needs to create the name for the newest controllerrevision.
format: int32
type: integer
conditions:
description: represents the latest available observations of a daemonset's
current state.
items:
description: daemonsetcondition describes the state of a daemonset
at a certain point.
properties:
lasttransitiontime:
description: last time the condition transitioned from one
status to another.
format: date-time
type: string
message:
description: a human readable message indicating details about
the transition.
type: string
reason:
description: the reason for the condition's last transition.
type: string
status:
description: status of the condition, one of true, false,
unknown.
type: string
type:
description: type of daemonset condition.
type: string
required:
- status
- type
type: object
type: array
currentnumberscheduled:
description: 'the number of nodes that are running at least 1 daemon
pod and are supposed to run the daemon pod. more info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/'
format: int32
type: integer
desirednumberscheduled:
description: 'the total number of nodes that should be running the
daemon pod (including nodes correctly running the daemon pod).
more info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/'
format: int32
type: integer
numberavailable:
description: the number of nodes that should be running the daemon
pod and have one or more of the daemon pod running and available
(ready for at least spec.minreadyseconds)
format: int32
type: integer
numbermisscheduled:
description: 'the number of nodes that are running the daemon pod,
but are not supposed to run the daemon pod. more info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/'
format: int32
type: integer
numberready:
description: the number of nodes that should be running the daemon
pod and have one or more of the daemon pod running and ready.
format: int32
type: integer
numberunavailable:
description: the number of nodes that should be running the daemon
pod and have none of the daemon pod running and available (ready
for at least spec.minreadyseconds)
format: int32
type: integer
observedgeneration:
description: the most recent generation observed by the daemon set
controller.
format: int64
type: integer
updatednumberscheduled:
description: the total number of nodes that are running updated
daemon pod
format: int32
type: integer
required:
- currentnumberscheduled
- desirednumberscheduled
- numbermisscheduled
- numberready
type: object
natenabled:
type: boolean
routeagentdaemonsetstatus:
description: daemonsetstatus represents the current status of a daemon
set.
properties:
collisioncount:
description: count of hash collisions for the daemonset. the daemonset
controller uses this field as a collision avoidance mechanism
when it needs to create the name for the newest controllerrevision.
format: int32
type: integer
conditions:
description: represents the latest available observations of a daemonset's
current state.
items:
description: daemonsetcondition describes the state of a daemonset
at a certain point.
properties:
lasttransitiontime:
description: last time the condition transitioned from one
status to another.
format: date-time
type: string
message:
description: a human readable message indicating details about
the transition.
type: string
reason:
description: the reason for the condition's last transition.
type: string
status:
description: status of the condition, one of true, false,
unknown.
type: string
type:
description: type of daemonset condition.
type: string
required:
- status
- type
type: object
type: array
currentnumberscheduled:
description: 'the number of nodes that are running at least 1 daemon
pod and are supposed to run the daemon pod. more info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/'
format: int32
type: integer
desirednumberscheduled:
description: 'the total number of nodes that should be running the
daemon pod (including nodes correctly running the daemon pod).
more info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/'
format: int32
type: integer
numberavailable:
description: the number of nodes that should be running the daemon
pod and have one or more of the daemon pod running and available
(ready for at least spec.minreadyseconds)
format: int32
type: integer
numbermisscheduled:
description: 'the number of nodes that are running the daemon pod,
but are not supposed to run the daemon pod. more info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/'
format: int32
type: integer
numberready:
description: the number of nodes that should be running the daemon
pod and have one or more of the daemon pod running and ready.
format: int32
type: integer
numberunavailable:
description: the number of nodes that should be running the daemon
pod and have none of the daemon pod running and available (ready
for at least spec.minreadyseconds)
format: int32
type: integer
observedgeneration:
description: the most recent generation observed by the daemon set
controller.
format: int64
type: integer
updatednumberscheduled:
description: the total number of nodes that are running updated
daemon pod
format: int32
type: integer
required:
- currentnumberscheduled
- desirednumberscheduled
- numbermisscheduled
- numberready
type: object
servicecidr:
type: string
required:
- clustercidr
- clusterid
- natenabled
- servicecidr
type: object
type: object
served: true
storage: true
subresources:
status: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment