Skip to content

Commit

Permalink
Update to Karpenter v0.31.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkeloscar committed Oct 31, 2023
1 parent 3d6b699 commit f0c631a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 40 deletions.
2 changes: 1 addition & 1 deletion cluster/manifests/z-karpenter/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
priorityClassName: "{{ .Cluster.ConfigItems.system_priority_class }}"
containers:
- name: controller
image: "container-registry.zalando.net/teapot/karpenter:v0.30.0-main-13.custom"
image: "container-registry.zalando.net/teapot/karpenter:v0.31.1-main-14.custom"
env:
- name: KUBERNETES_MIN_VERSION
value: "1.22.0-0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,54 +197,17 @@ spec:
networkInterfaces:
items:
properties:
associateCarrierIPAddress:
description: "Associates a Carrier IP address with eth0 for
a new network interface. \n Use this option when you launch
an instance in a Wavelength Zone and want to associate a Carrier
IP address with the network interface. For more information
about Carrier IP addresses, see Carrier IP addresses (https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip)
in the Wavelength Developer Guide."
type: boolean
associatePublicIPAddress:
description: Associates a public IPv4 address with eth0 for
a new network interface.
type: boolean
deleteOnTermination:
description: Indicates whether the network interface is deleted
when the instance is terminated.
type: boolean
description:
description: A description for the network interface.
type: string
deviceIndex:
description: The device index for the network interface attachment.
format: int64
type: integer
interfaceType:
description: "The type of network interface. To create an Elastic
Fabric Adapter (EFA), specify efa. For more information, see
Elastic Fabric Adapter (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html)
in the Amazon Elastic Compute Cloud User Guide. \n If you
are not creating an EFA, specify interface or omit this parameter.
\n Valid values: interface | efa"
type: string
ipv4PrefixCount:
description: The number of IPv4 prefixes to be automatically
assigned to the network interface.
format: int64
type: integer
ipv6PrefixCount:
description: The number of IPv6 prefixes to be automatically
assigned to the network interface.
format: int64
type: integer
networkCardIndex:
description: The index of the network card. Some instance types
support multiple network cards. The primary network interface
must be assigned to network card index 0. The default is network
card index 0.
format: int64
type: integer
type: object
type: array
securityGroupSelector:
Expand Down
3 changes: 1 addition & 2 deletions cluster/node-pools/worker-karpenter/provisioners.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ spec:
volumeSize: {{ .NodePool.ConfigItems.ebs_root_volume_size }}Gi
volumeType: gp3
networkInterfaces:
- deleteOnTermination: true
associatePublicIPAddress: true
- associatePublicIPAddress: true
deviceIndex: 0
userData: |
{{.UserData | indent 4}}
Expand Down

0 comments on commit f0c631a

Please sign in to comment.