Skip to content

Instantly share code, notes, and snippets.

@kevin85421
Created December 6, 2023 06:38
Show Gist options
  • Save kevin85421/68fda5aac04884d92c4f7b135222b625 to your computer and use it in GitHub Desktop.
Save kevin85421/68fda5aac04884d92c4f7b135222b625 to your computer and use it in GitHub Desktop.
Name: gateway
Namespace: default
Labels: domain=k8s-gateway.nginx.org
Annotations: <none>
API Version: gateway.networking.k8s.io/v1
Kind: Gateway
Metadata:
Creation Timestamp: 2023-12-06T06:34:36Z
Generation: 1
Managed Fields:
API Version: gateway.networking.k8s.io/v1
Fields Type: FieldsV1
fieldsV1:
f:status:
f:conditions:
k:{"type":"Accepted"}:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
k:{"type":"Programmed"}:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:listeners:
.:
k:{"name":"fifth"}:
.:
f:attachedRoutes:
f:conditions:
.:
k:{"type":"Accepted"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
k:{"type":"Conflicted"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
k:{"type":"Programmed"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
k:{"type":"ResolvedRefs"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
f:name:
f:supportedKinds:
k:{"name":"first"}:
.:
f:attachedRoutes:
f:conditions:
.:
k:{"type":"Accepted"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
k:{"type":"Conflicted"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
k:{"type":"Programmed"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
k:{"type":"ResolvedRefs"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
f:name:
f:supportedKinds:
k:{"name":"fourth"}:
.:
f:attachedRoutes:
f:conditions:
.:
k:{"type":"Accepted"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
k:{"type":"Conflicted"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
k:{"type":"Programmed"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
k:{"type":"ResolvedRefs"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
f:name:
f:supportedKinds:
k:{"name":"second"}:
.:
f:attachedRoutes:
f:conditions:
.:
k:{"type":"Accepted"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
k:{"type":"Conflicted"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
k:{"type":"Programmed"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
k:{"type":"ResolvedRefs"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
f:name:
f:supportedKinds:
k:{"name":"third"}:
.:
f:attachedRoutes:
f:conditions:
.:
k:{"type":"Accepted"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
k:{"type":"Conflicted"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
k:{"type":"Programmed"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
k:{"type":"ResolvedRefs"}:
.:
f:lastTransitionTime:
f:message:
f:observedGeneration:
f:reason:
f:status:
f:type:
f:name:
f:supportedKinds:
Manager: gateway
Operation: Update
Subresource: status
Time: 2023-12-06T06:34:36Z
API Version: gateway.networking.k8s.io/v1beta1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:kubectl.kubernetes.io/last-applied-configuration:
f:labels:
.:
f:domain:
f:spec:
.:
f:gatewayClassName:
f:listeners:
.:
k:{"name":"fifth"}:
.:
f:allowedRoutes:
.:
f:namespaces:
.:
f:from:
f:hostname:
f:name:
f:port:
f:protocol:
k:{"name":"first"}:
.:
f:allowedRoutes:
.:
f:namespaces:
.:
f:from:
f:hostname:
f:name:
f:port:
f:protocol:
k:{"name":"fourth"}:
.:
f:allowedRoutes:
.:
f:namespaces:
.:
f:from:
f:hostname:
f:name:
f:port:
f:protocol:
k:{"name":"second"}:
.:
f:allowedRoutes:
.:
f:namespaces:
.:
f:from:
f:hostname:
f:name:
f:port:
f:protocol:
k:{"name":"third"}:
.:
f:allowedRoutes:
.:
f:namespaces:
.:
f:from:
f:hostname:
f:name:
f:port:
f:protocol:
Manager: kubectl-client-side-apply
Operation: Update
Time: 2023-12-06T06:34:36Z
Resource Version: 3573
UID: 6b214c2f-c938-4e7a-8ec9-137b6c6987ee
Spec:
Gateway Class Name: nginx
Listeners:
Allowed Routes:
Namespaces:
From: Same
Hostname: *.example.com
Name: first
Port: 80
Protocol: HTTP
Allowed Routes:
Namespaces:
From: Same
Hostname: *.example.org
Name: second
Port: 80
Protocol: HTTP
Allowed Routes:
Namespaces:
From: Same
Hostname: *.example.co.uk
Name: third
Port: 80
Protocol: HTTP
Allowed Routes:
Namespaces:
From: Same
Hostname: *.nginx.org
Name: fourth
Port: 80
Protocol: HTTP
Allowed Routes:
Namespaces:
From: Same
Hostname: *.f5.com
Name: fifth
Port: 80
Protocol: HTTP
Status:
Conditions:
Last Transition Time: 2023-12-06T06:34:36Z
Message: Gateway is accepted
Observed Generation: 1
Reason: Accepted
Status: True
Type: Accepted
Last Transition Time: 2023-12-06T06:34:36Z
Message: Gateway is programmed
Observed Generation: 1
Reason: Programmed
Status: True
Type: Programmed
Listeners:
Attached Routes: 0
Conditions:
Last Transition Time: 2023-12-06T06:34:36Z
Message: Listener is accepted
Observed Generation: 1
Reason: Accepted
Status: True
Type: Accepted
Last Transition Time: 2023-12-06T06:34:36Z
Message: Listener is programmed
Observed Generation: 1
Reason: Programmed
Status: True
Type: Programmed
Last Transition Time: 2023-12-06T06:34:36Z
Message: All references are resolved
Observed Generation: 1
Reason: ResolvedRefs
Status: True
Type: ResolvedRefs
Last Transition Time: 2023-12-06T06:34:36Z
Message: No conflicts
Observed Generation: 1
Reason: NoConflicts
Status: False
Type: Conflicted
Name: first
Supported Kinds:
Group: gateway.networking.k8s.io
Kind: HTTPRoute
Attached Routes: 0
Conditions:
Last Transition Time: 2023-12-06T06:34:36Z
Message: Listener is accepted
Observed Generation: 1
Reason: Accepted
Status: True
Type: Accepted
Last Transition Time: 2023-12-06T06:34:36Z
Message: Listener is programmed
Observed Generation: 1
Reason: Programmed
Status: True
Type: Programmed
Last Transition Time: 2023-12-06T06:34:36Z
Message: All references are resolved
Observed Generation: 1
Reason: ResolvedRefs
Status: True
Type: ResolvedRefs
Last Transition Time: 2023-12-06T06:34:36Z
Message: No conflicts
Observed Generation: 1
Reason: NoConflicts
Status: False
Type: Conflicted
Name: second
Supported Kinds:
Group: gateway.networking.k8s.io
Kind: HTTPRoute
Attached Routes: 0
Conditions:
Last Transition Time: 2023-12-06T06:34:36Z
Message: Listener is accepted
Observed Generation: 1
Reason: Accepted
Status: True
Type: Accepted
Last Transition Time: 2023-12-06T06:34:36Z
Message: Listener is programmed
Observed Generation: 1
Reason: Programmed
Status: True
Type: Programmed
Last Transition Time: 2023-12-06T06:34:36Z
Message: All references are resolved
Observed Generation: 1
Reason: ResolvedRefs
Status: True
Type: ResolvedRefs
Last Transition Time: 2023-12-06T06:34:36Z
Message: No conflicts
Observed Generation: 1
Reason: NoConflicts
Status: False
Type: Conflicted
Name: third
Supported Kinds:
Group: gateway.networking.k8s.io
Kind: HTTPRoute
Attached Routes: 0
Conditions:
Last Transition Time: 2023-12-06T06:34:36Z
Message: Listener is accepted
Observed Generation: 1
Reason: Accepted
Status: True
Type: Accepted
Last Transition Time: 2023-12-06T06:34:36Z
Message: Listener is programmed
Observed Generation: 1
Reason: Programmed
Status: True
Type: Programmed
Last Transition Time: 2023-12-06T06:34:36Z
Message: All references are resolved
Observed Generation: 1
Reason: ResolvedRefs
Status: True
Type: ResolvedRefs
Last Transition Time: 2023-12-06T06:34:36Z
Message: No conflicts
Observed Generation: 1
Reason: NoConflicts
Status: False
Type: Conflicted
Name: fourth
Supported Kinds:
Group: gateway.networking.k8s.io
Kind: HTTPRoute
Attached Routes: 0
Conditions:
Last Transition Time: 2023-12-06T06:34:36Z
Message: Listener is accepted
Observed Generation: 1
Reason: Accepted
Status: True
Type: Accepted
Last Transition Time: 2023-12-06T06:34:36Z
Message: Listener is programmed
Observed Generation: 1
Reason: Programmed
Status: True
Type: Programmed
Last Transition Time: 2023-12-06T06:34:36Z
Message: All references are resolved
Observed Generation: 1
Reason: ResolvedRefs
Status: True
Type: ResolvedRefs
Last Transition Time: 2023-12-06T06:34:36Z
Message: No conflicts
Observed Generation: 1
Reason: NoConflicts
Status: False
Type: Conflicted
Name: fifth
Supported Kinds:
Group: gateway.networking.k8s.io
Kind: HTTPRoute
Events: <none>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment