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

Promote Traceflow API to v1beta1 #5108

Merged
merged 1 commit into from
Jul 28, 2023
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
287 changes: 286 additions & 1 deletion build/charts/antrea/crds/traceflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
versions:
- name: v1alpha1
served: true
storage: true
storage: false
additionalPrinterColumns:
- jsonPath: .status.phase
description: The phase of the Traceflow.
Expand Down Expand Up @@ -246,6 +246,291 @@ spec:
type: object
subresources:
status: {}
- name: v1beta1
served: true
storage: true
additionalPrinterColumns:
- jsonPath: .status.phase
description: The phase of the Traceflow.
name: Phase
type: string
- jsonPath: .spec.source.pod
description: The name of the source Pod.
name: Source-Pod
type: string
priority: 10
- jsonPath: .spec.destination.pod
description: The name of the destination Pod.
name: Destination-Pod
type: string
priority: 10
- jsonPath: .spec.destination.ip
description: The IP address of the destination.
name: Destination-IP
type: string
priority: 10
- jsonPath: .spec.liveTraffic
description: Trace live traffic.
name: Live-Traffic
type: boolean
priority: 10
- jsonPath: .spec.droppedOnly
description: Capture only the dropped packet.
name: Dropped-Only
type: boolean
priority: 10
- jsonPath: .spec.timeout
description: Timeout in seconds.
name: Timeout
type: integer
luolanzone marked this conversation as resolved.
Show resolved Hide resolved
priority: 10
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
schema:
openAPIV3Schema:
type: object
required:
- spec
properties:
spec:
type: object
properties:
source:
type: object
properties:
pod:
type: string
namespace:
type: string
ip:
type: string
oneOf:
- format: ipv4
- format: ipv6
destination:
type: object
properties:
pod:
type: string
service:
type: string
namespace:
type: string
ip:
type: string
oneOf:
- format: ipv4
- format: ipv6
packet:
type: object
properties:
ipHeader:
type: object
properties:
protocol:
luolanzone marked this conversation as resolved.
Show resolved Hide resolved
type: integer
minimum: 0
maximum: 255
ttl:
type: integer
minimum: 0
maximum: 255
flags:
luolanzone marked this conversation as resolved.
Show resolved Hide resolved
type: integer
minimum: 0
maximum: 7
ipv6Header:
type: object
properties:
nextHeader:
type: integer
minimum: 0
maximum: 65535
hopLimit:
type: integer
minimum: 0
maximum: 65535
transportHeader:
type: object
properties:
icmp:
type: object
properties:
id:
type: integer
minimum: 0
maximum: 65535
sequence:
type: integer
minimum: 0
maximum: 65535
udp:
type: object
properties:
srcPort:
type: integer
minimum: 1
maximum: 65535
dstPort:
type: integer
minimum: 1
maximum: 65535
tcp:
type: object
properties:
srcPort:
type: integer
minimum: 1
maximum: 65535
dstPort:
type: integer
minimum: 1
maximum: 65535
flags:
type: integer
minimum: 0
maximum: 7
liveTraffic:
type: boolean
droppedOnly:
type: boolean
timeout:
type: integer
luolanzone marked this conversation as resolved.
Show resolved Hide resolved
minimum: 1
maximum: 300
status:
type: object
properties:
reason:
type: string
dataplaneTag:
type: integer
phase:
type: string
startTime:
type: string
results:
type: array
items:
type: object
properties:
node:
type: string
role:
type: string
timestamp:
type: integer
observations:
type: array
items:
type: object
properties:
component:
type: string
componentInfo:
type: string
action:
type: string
pod:
type: string
dstMAC:
type: string
networkPolicy:
type: string
ttl:
type: integer
minimum: 0
maximum: 255
translatedSrcIP:
type: string
translatedDstIP:
type: string
tunnelDstIP:
type: string
egressIP:
type: string
egress:
type: string
capturedPacket:
properties:
srcIP:
type: string
dstIP:
type: string
length:
type: integer
minimum: 0
maximum: 65535
ipHeader:
properties:
flags:
type: integer
minimum: 0
maximum: 7
protocol:
type: integer
minimum: 0
maximum: 255
ttl:
type: integer
minimum: 0
maximum: 255
type: object
ipv6Header:
properties:
hopLimit:
type: integer
minimum: 0
maximum: 65535
nextHeader:
type: integer
minimum: 0
maximum: 65535
type: object
transportHeader:
properties:
tcp:
properties:
dstPort:
type: integer
minimum: 1
maximum: 65535
srcPort:
type: integer
minimum: 1
maximum: 65535
flags:
type: integer
minimum: 0
maximum: 7
type: object
udp:
properties:
dstPort:
type: integer
minimum: 1
maximum: 65535
srcPort:
type: integer
minimum: 1
maximum: 65535
type: object
icmp:
properties:
id:
type: integer
minimum: 0
maximum: 65535
sequence:
type: integer
minimum: 0
maximum: 65535
type: object
type: object
type: object
subresources:
status: {}
scope: Cluster
names:
plural: traceflows
Expand Down
Loading