WorkloadGroup
networking.istio.io / v1
apiVersion: networking.istio.io/v1
kind: WorkloadGroup
metadata:
name: example
spec object required
Describes a collection of workload instances. See more details at: https://istio.io/docs/reference/config/networking/workload-group.html
metadata object
Metadata that will be used for all corresponding `WorkloadEntries`.
annotations
object
labels
object
probe object
`ReadinessProbe` describes the configuration the user must provide for healthchecking on their workload.
exec object
Health is determined by how the command that is executed exited.
command
[]string required
Command to run.
failureThreshold
integer
Minimum consecutive failures for the probe to be considered failed after having succeeded.
format:
int32minimum:
0grpc object
GRPC call is made and response/error is used to determine health.
port
integer
Port on which the endpoint lives.
minimum:
0maximum:
4.294967295e+09
service
string
httpGet object
`httpGet` is performed to a given endpoint and the status/able to connect determines health.
host
string
Host name to connect to, defaults to the pod IP.
httpHeaders []object
Headers the proxy will pass on to make the request.
name
string
pattern:
^[-_A-Za-z0-9]+$
value
string
path
string
Path to access on the HTTP server.
port
integer required
Port on which the endpoint lives.
minimum:
0maximum:
4.294967295e+09
scheme
string
initialDelaySeconds
integer
Number of seconds after the container has started before readiness probes are initiated.
format:
int32minimum:
0
periodSeconds
integer
How often (in seconds) to perform the probe.
format:
int32minimum:
0
successThreshold
integer
Minimum consecutive successes for the probe to be considered successful after having failed.
format:
int32minimum:
0tcpSocket object
Health is determined by if the proxy is able to connect.
host
string
port
integer required
minimum:
0maximum:
4.294967295e+09
timeoutSeconds
integer
Number of seconds after which the probe times out.
format:
int32minimum:
0template object required
Template to be used for the generation of `WorkloadEntry` resources that belong to this `WorkloadGroup`.
address
string
Address associated with the network endpoint without the port.
maxLength:
256
labels
object
One or more labels associated with the endpoint.
locality
string
The locality associated with the endpoint.
maxLength:
2048
network
string
Network enables Istio to group endpoints resident in the same L3 domain/network.
maxLength:
2048
ports
object
Set of ports associated with the endpoint.
serviceAccount
string
The service account associated with the workload if a sidecar is present in the workload.
maxLength:
253
weight
integer
The load balancing weight associated with the endpoint.
minimum:
0maximum:
4.294967295e+09status object
conditions []object
Current service state of the resource.
lastProbeTime
string
Last time we probed the condition.
format:
date-time
lastTransitionTime
string
Last time the condition transitioned from one status to another.
format:
date-time
message
string
Human-readable message indicating details about last transition.
observedGeneration
string | integer
Resource Generation to which the Condition refers.
reason
string
Unique, one-word, CamelCase reason for the condition's last transition.
status
string
Status is the status of the condition.
type
string
Type is the type of the condition.
observedGeneration
string | integer
validationMessages []object
Includes any errors or warnings detected by Istio's analyzers.
documentationUrl
string
A url pointing to the Istio documentation for this specific error type.
level
string
Represents how severe a message is.
Valid Options: UNKNOWN, ERROR, WARNING, INFO
enum:
UNKNOWN, ERROR, WARNING, INFOtype object
code
string
A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
name
string
A human-readable name for the message type.
No matches. Try .spec.metadata for an exact path