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

docs(mesh): update docs and changelog #7591

Merged
merged 1 commit into from
Jul 1, 2024
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
131 changes: 131 additions & 0 deletions app/assets/mesh/dev/raw/crds/kuma.io_meshmultizoneservices.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: meshmultizoneservices.kuma.io
spec:
group: kuma.io
names:
categories:
- kuma
kind: MeshMultiZoneService
listKind: MeshMultiZoneServiceList
plural: meshmultizoneservices
singular: meshmultizoneservice
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
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: Spec is the specification of the Kuma MeshMultiZoneService
resource.
properties:
selector:
description: Selector is a way to select multiple MeshServices
properties:
meshService:
description: MeshService selects MeshServices
properties:
matchLabels:
additionalProperties:
type: string
description: MatchLabels matches multiple MeshServices by
labels
type: object
required:
- matchLabels
type: object
required:
- meshService
type: object
required:
- selector
type: object
status:
description: Status is the current status of the Kuma MeshMultiZoneService
resource.
properties:
addresses:
description: Addresses is a list of addresses generated by HostnameGenerator
items:
properties:
hostname:
type: string
hostnameGeneratorRef:
properties:
coreName:
type: string
required:
- coreName
type: object
origin:
type: string
type: object
type: array
meshServices:
description: MeshServices is a list of matched MeshServices
items:
properties:
name:
description: Name is a core name of MeshService
type: string
required:
- name
type: object
type: array
ports:
description: Ports is an aggregated distinct list of ports from selected
MeshServices
items:
properties:
appProtocol:
default: tcp
description: Protocol identifies a protocol supported by a service.
type: string
name:
type: string
port:
format: int32
type: integer
targetPort:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
type: array
vips:
description: VIPs is a list of assigned Kuma VIPs.
items:
properties:
ip:
type: string
type: object
type: array
type: object
type: object
served: true
storage: true
6 changes: 6 additions & 0 deletions app/assets/mesh/dev/raw/kuma-cp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -796,9 +796,15 @@ policies:
- meshtraces
- meshtrafficpermissions
coreResources:
status:
# How often we compute status of MeshMultiZoneService
meshMultiZoneServiceInterval: 5s # ENV: KUMA_CORE_RESOURCES_STATUS_MESH_MULTI_ZONE_SERVICE_INTERVAL
# How often we compute status of MeshService
meshServiceInterval: 5s # ENV: KUMA_CORE_RESOURCES_STATUS_MESH_SERVICE_INTERVAL
enabled: # ENV: KUMA_CORE_RESOURCES_ENABLED
- hostnamegenerators
- meshexternalservices
- meshmultizoneservices
- meshservices
# IP address management configuration
ipam:
Expand Down
Loading