-
Notifications
You must be signed in to change notification settings - Fork 72
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
rollout v0.5.0 changelog #190
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,36 @@ | ||
# Change Log | ||
|
||
## v0.5.0 | ||
### Resources Graduating to BETA | ||
|
||
After more than a year of development, we have now decided to upgrade the following resources to v1beta1, as follows: | ||
- Rollout | ||
- BatchRelease | ||
|
||
Please refer to the [community documentation](https://openkruise.io/rollouts/user-manuals/api-specifications) for detailed api definitions. | ||
|
||
**Note:** The v1alpha1 api is still available, and you can still use the v1alpha1 api in v0.5.0. | ||
But we still recommend that you migrate to v1beta1 gradually, as some of the new features will only be available in v1beta1, | ||
e.g., [Extensible Traffic Routing Based on Lua Script](https://openkruise.io/rollouts/developer-manuals/custom-network-provider/). | ||
|
||
### Dump To V1beta1 Gateway API | ||
Support for GatewayAPI from v1alpha2 to v1beta1, you can use v1beta1 gateway API. | ||
|
||
### Extensible Traffic Routing Based on Lua Script | ||
|
||
Kruise Rollout utilizes a Lua-script-based customization approach for API Gateway resources (Istio VirtualService, Apisix ApisixRoute, Kuma TrafficRoute and etc.). Kruise Rollout involves invoking Lua scripts to retrieve and update the desired configurations of resources based on release strategies and the original configurations of API Gateway resources (including spec, labels, and annotations). It enables users to easily adapt and integrate various types of API Gateway resources without modifying existing code and configurations. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. consider describe why we add lua support even we have gateway api support |
||
|
||
By using Kruise Rollout, users can: | ||
- Customize Lua scripts for handling API Gateway resources, allowing for flexible implementation of resource processing and providing support for a wider range of resources. | ||
- Utilize a common Rollout configuration template to configure different resources, reducing configuration complexity and facilitating user configuration. | ||
|
||
### Traffic Routing with Istio | ||
Based on the lua script approach, we have built-in support for Istio resources VirtualService, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
now we add built-in support for Istio resources VirtualService |
||
you can directly use Kruise Rollout to achieve Istio scenarios Canary, A/B Testing release. | ||
|
||
### Others | ||
- Bug fix: wait grace period seconds after pod creation/upgrade. ([#185](https://github.com/openkruise/rollouts/pull/185), [@veophi](https://github.com/veophi)) | ||
|
||
## v0.4.0 | ||
### Kruise-Rollout-Controller | ||
- Rollout Support Kruise Advanced DaemonSet. ([#134](https://github.com/openkruise/rollouts/pull/134), [@Yadan-Wei](https://github.com/Yadan-Wei)) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Build the manager binary | ||
ARG BASE_IMAGE=alpine | ||
ARG BASE_IMAGE_VERION=3.17 | ||
FROM --platform=$BUILDPLATFORM golang:1.18-alpine3.17 as builder | ||
FROM --platform=$BUILDPLATFORM golang:1.19-alpine3.17 as builder | ||
|
||
WORKDIR /workspace | ||
|
||
|
@@ -23,12 +23,24 @@ ARG BASE_IMAGE | |
ARG BASE_IMAGE_VERION | ||
FROM ${BASE_IMAGE}:${BASE_IMAGE_VERION} | ||
|
||
RUN apk add --no-cache ca-certificates=~20220614-r4 bash=~5.2.15-r0 expat=~2.5.0-r0 \ | ||
&& rm -rf /var/cache/apk/* | ||
RUN set -eux; \ | ||
apk --no-cache --update upgrade && \ | ||
apk --no-cache add ca-certificates && \ | ||
apk --no-cache add tzdata && \ | ||
rm -rf /var/cache/apk/* && \ | ||
update-ca-certificates && \ | ||
echo "only include root and nobody user" && \ | ||
echo -e "root:x:0:0:root:/root:/bin/ash\nnobody:x:65534:65534:nobody:/:/sbin/nologin" | tee /etc/passwd && \ | ||
echo -e "root:x:0:root\nnobody:x:65534:" | tee /etc/group && \ | ||
rm -rf /usr/local/sbin/* && \ | ||
rm -rf /usr/local/bin/* && \ | ||
rm -rf /usr/sbin/* && \ | ||
rm -rf /usr/bin/* && \ | ||
rm -rf /sbin/* && \ | ||
rm -rf /bin/* | ||
|
||
WORKDIR / | ||
COPY --from=builder /workspace/manager . | ||
COPY lua_configuration /lua_configuration | ||
USER 1000 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why not use non-root user here ? |
||
|
||
ENTRYPOINT ["/manager"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replace dump with bump