You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,14 @@
1
+
# v1.0.8
2
+
3
+
## Feature
4
+
5
+
- Support reserve ip for all workloads [#107](https://github.com/tkestack/galaxy/pull/107), please check [custom resource workloads](https://github.com/tkestack/galaxy/blob/master/doc/float-ip.md#custom-resource-workloads)
6
+
- Support configuring multiple device of vlan cni plugin [#114](https://github.com/tkestack/galaxy/pull/114)
7
+
8
+
## Bug fix
9
+
10
+
- Fix veth device name conflict when multi network enabled [#115](https://github.com/tkestack/galaxy/pull/115)
Before v1.0.8 galaxy-ipam only supports immutable and never release policy for statefulset, deployment and [tapp](https://github.com/tkestack/tapp).
37
37
The usage is the same as before. Galaxy-ipam makes use of [dynamic client](https://github.com/kubernetes/client-go/tree/master/dynamic) to watch all custom resource workloads by demand to get
38
-
their replicas and and decide when to release ips.
38
+
their replicas and decide when to release ips. If you want to use it, please make sure to add list and watch permissions of custom resource to galaxy-ipam cluster role like the following tapp resource.
39
39
40
-
For pods with never release policy, galaxy-ipam checks if its name matches regular expression `.*-[0-9]*$`, if it
41
-
does galaxy-ipam binds an IP to a key `$kind_$namespace_$appName_$podName`, otherwise it throws an error of not
42
-
supporting never release policy for it. Galaxy-ipam assumes the workload controller generates pod names by workload
43
-
name and a `-[0-9]*$` suffix like what statefulset does.
40
+
```
41
+
- apiGroups: ["apps.tkestack.io"]
42
+
resources:
43
+
- tapps
44
+
verbs: ["list", "watch"]
45
+
```
46
+
47
+
For pods with never release policy, galaxy-ipam checks if its name matches regular expression `.*-[0-9]*$`, if it does galaxy-ipam binds an IP to a key `$kind_$namespace_$appName_$podName`, otherwise it throws an error of not
48
+
supporting never release policy for it. Galaxy-ipam assumes the workload controller generates pod names by workload name and a `-[0-9]*$` suffix like what statefulset does.
44
49
45
-
For pods that need an immutable strategy, not only its name must satisfy the same regular expression, but also its
46
-
CustomResourceDefinition must support scale sub-resource and define the [SpecReplicasPath](https://github.com/kubernetes/kubernetes/blob/v1.19.4/staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types.go#L455). Galaxy-ipam gets the parent
47
-
workload replicas by `SpecReplicasPath` and invokes `unstructured.NestedInt64` to get the actual replicas to check
48
-
whether to release IP.
50
+
For pods that need an immutable strategy, not only its name must satisfy the same regular expression, but also its CustomResourceDefinition must support scale sub-resource and define the [SpecReplicasPath](https://github.com/kubernetes/kubernetes/blob/v1.19.4/staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types.go#L455).
51
+
Galaxy-ipam gets the parent workload replicas by `SpecReplicasPath` and invokes `unstructured.NestedInt64` to get the actual replicas to check whether to release IP.
0 commit comments