Skip to content

Commit 7f274b1

Browse files
committed
Add changelog
1 parent 8b6c9c9 commit 7f274b1

File tree

2 files changed

+23
-9
lines changed

2 files changed

+23
-9
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff 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)
11+
112
# v1.0.7
213

314
## Feature

doc/float-ip.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,20 @@ FEATURE STATE: tkestack/galaxy-ipam:v1.0.8 [alpha]
3535

3636
Before v1.0.8 galaxy-ipam only supports immutable and never release policy for statefulset, deployment and [tapp](https://github.com/tkestack/tapp).
3737
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.
3939

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.
4449

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.
4952

5053
## Float IP Pool
5154

0 commit comments

Comments
 (0)