-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Labels
api-changearea/iaasIssues related to IronCore IaaS development.Issues related to IronCore IaaS development.enhancementNew feature or requestNew feature or request
Description
Summary
Similar to #1114 the same Reclaim Policy should be available for Virtual IP resources.
Basic example
apiVersion: compute.ironcore.dev/v1alpha1
kind: Machine
metadata:
name: machine
spec:
networkInterfaces:
- ephemeral:
networkInterfaceTemplate:
metadata:
creationTimestamp: null
spec:
ipFamilies:
- IPv4
ips:
- ephemeral:
prefixTemplate:
metadata:
creationTimestamp: null
spec:
ipFamily: IPv4
parentRef:
name: prefix
prefixLength: 32
networkRef:
name: network
virtualIP:
ephemeral:
virtualIPTemplate:
metadata:
creationTimestamp: null
spec:
reclaimPolicy: Retain # this is the new field defining the "Retain" strategy for the corresponding `virtualIP` resource
ipFamily: IPv4
type: Public
name: primary
Edit: updated the .spec.virtualIP structure to be in line with #1114
This instructs the controller to not remove the Virtual IP resource. When the managing Machine / NetworkInterface resource is deleted, the OwnerReference as well as the .spec.targetRef should be cleared.
Motivation
Resource saving for consuming teams, such as VPN configuration.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api-changearea/iaasIssues related to IronCore IaaS development.Issues related to IronCore IaaS development.enhancementNew feature or requestNew feature or request