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

Upgrade antrea version to 1.9 #49

Merged
merged 1 commit into from
Oct 25, 2022
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
188 changes: 171 additions & 17 deletions ci/aks/antrea-aks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2046,6 +2046,155 @@ spec:
shortNames:
- anp

---
# Source: crds/supportbundlecollection.yaml
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: supportbundlecollections.crd.antrea.io
spec:
group: crd.antrea.io
versions:
- name: v1alpha1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
required:
- fileServer
- authentication
anyOf:
- required:
- nodes
- required:
- externalNodes
properties:
nodes:
type: object
properties:
nodeNames:
type: array
items:
type: string
nodeSelector:
type: object
properties:
matchExpressions:
items:
properties:
key:
type: string
operator:
enum:
- In
- NotIn
- Exists
- DoesNotExist
type: string
values:
items:
type: string
pattern: "^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$"
type: array
type: object
type: array
matchLabels:
x-kubernetes-preserve-unknown-fields: true
externalNodes:
type: object
required:
- namespace
properties:
namespace:
type: string
nodeNames:
type: array
items:
type: string
nodeSelector:
type: object
properties:
matchExpressions:
items:
properties:
key:
type: string
operator:
enum:
- In
- NotIn
- Exists
- DoesNotExist
type: string
values:
items:
type: string
pattern: "^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$"
type: array
type: object
type: array
matchLabels:
x-kubernetes-preserve-unknown-fields: true
expirationMinutes:
type: integer
default: 60
sinceTime:
type: string
format: duration
fileServer:
type: object
properties:
url:
type: string
authentication:
type: object
properties:
authType:
type: string
enum: ["BearerToken", "APIKey"]
authSecret:
type: object
properties:
name:
type: string
namespace:
type: string
status:
type: object
properties:
collectedNodes:
type: integer
desiredNodes:
type: integer
conditions:
type: array
items:
type: object
properties:
type:
type: string
status:
type: string
lastTransitionTime:
type: string
reason:
type: string
message:
type: string
subresources:
status: {}
scope: Cluster
names:
plural: supportbundlecollections
singular: supportbundlecollection
kind: SupportBundleCollection
shortNames:
- sbc

---
# Source: crds/tier.yaml
apiVersion: apiextensions.k8s.io/v1
Expand Down Expand Up @@ -2762,11 +2911,8 @@ data:
# Make sure it doesn't conflict with your existing OpenVSwitch bridges.
ovsBridge: "br-int"

# Datapath type to use for the OpenVSwitch bridge created by Antrea. Supported values are:
# - system
# - netdev
# 'system' is the default value and corresponds to the kernel datapath. Use 'netdev' to run
# OVS in userspace mode. Userspace mode requires the tun device driver to be available.
# Datapath type to use for the OpenVSwitch bridge created by Antrea. At the moment, the only
# supported value is 'system', which corresponds to the kernel datapath.
#ovsDatapathType: system

# Name of the interface antrea-agent will create and use for host <--> pod communication.
Expand Down Expand Up @@ -2806,6 +2952,14 @@ data:
# and 7471 for STT.
tunnelPort: 0

# TunnelCsum determines whether to compute UDP encapsulation header (Geneve or VXLAN) checksums on outgoing
# packets. For Linux kernel before Mar 2021, UDP checksum must be present to trigger GRO on the receiver for better
# performance of Geneve and VXLAN tunnels. The issue has been fixed by
# https://github.com/torvalds/linux/commit/89e5c58fc1e2857ccdaae506fb8bc5fed57ee063, thus computing UDP checksum is
# no longer necessary.
# It should only be set to true when you are using an unpatched Linux kernel and observing poor transfer performance.
tunnelCsum: false

# Determines how tunnel traffic is encrypted. Currently encryption only works with encap mode.
# It has the following options:
# - none (default): Inter-node Pod traffic will not be encrypted.
Expand Down Expand Up @@ -3995,7 +4149,7 @@ spec:
kubectl.kubernetes.io/default-container: antrea-agent
# Automatically restart Pods with a RollingUpdate if the ConfigMap changes
# See https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
checksum/config: 10aaed69b06e12d9e08fec773f3164817261a1ee026566721b4013f7e614bcbd
checksum/config: ec59529f4b774af0f12a30c31eb48e5494ac6371ce624e872d1e6b76b797325e
labels:
app: antrea
component: antrea-agent
Expand All @@ -4016,7 +4170,7 @@ spec:
initContainers:
containers:
- name: install-cni
image: "projects.registry.vmware.com/antrea/antrea-ubuntu:v1.8.0"
image: "projects.registry.vmware.com/antrea/antrea-ubuntu:v1.9.0"
imagePullPolicy: IfNotPresent
resources:
requests:
Expand Down Expand Up @@ -4050,7 +4204,7 @@ spec:
- name: host-var-run-antrea
mountPath: /var/run/antrea
- name: antrea-agent
image: "projects.registry.vmware.com/antrea/antrea-ubuntu:v1.8.0"
image: "projects.registry.vmware.com/antrea/antrea-ubuntu:v1.9.0"
imagePullPolicy: IfNotPresent
command: ["antrea-agent"]
# Log to both "/var/log/antrea/" and stderr (so "kubectl logs" can work).-
Expand Down Expand Up @@ -4083,12 +4237,12 @@ spec:
name: api
protocol: TCP
livenessProbe:
exec:
command:
- /bin/sh
- -c
- container_liveness_probe agent
initialDelaySeconds: 5
httpGet:
host: localhost
path: /livez
port: api
scheme: HTTPS
initialDelaySeconds: 10
timeoutSeconds: 5
periodSeconds: 10
failureThreshold: 5
Expand Down Expand Up @@ -4142,7 +4296,7 @@ spec:
- name: xtables-lock
mountPath: /run/xtables.lock
- name: antrea-ovs
image: "projects.registry.vmware.com/antrea/antrea-ubuntu:v1.8.0"
image: "projects.registry.vmware.com/antrea/antrea-ubuntu:v1.9.0"
imagePullPolicy: IfNotPresent
resources:
requests:
Expand Down Expand Up @@ -4236,7 +4390,7 @@ spec:
annotations:
# Automatically restart Pod if the ConfigMap changes
# See https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
checksum/config: 10aaed69b06e12d9e08fec773f3164817261a1ee026566721b4013f7e614bcbd
checksum/config: ec59529f4b774af0f12a30c31eb48e5494ac6371ce624e872d1e6b76b797325e
labels:
app: antrea
component: antrea-controller
Expand All @@ -4255,7 +4409,7 @@ spec:
serviceAccountName: antrea-controller
containers:
- name: antrea-controller
image: "projects.registry.vmware.com/antrea/antrea-ubuntu:v1.8.0"
image: "projects.registry.vmware.com/antrea/antrea-ubuntu:v1.9.0"
imagePullPolicy: IfNotPresent
resources:
requests:
Expand Down
Loading