Skip to content
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

bugfix: 去除k8s负载中重复定义的环境变量 #1828

Closed
jsonwan opened this issue Mar 10, 2023 · 0 comments
Closed

bugfix: 去除k8s负载中重复定义的环境变量 #1828

jsonwan opened this issue Mar 10, 2023 · 0 comments
Assignees
Labels
done 已上线到正式环境并验收通过 kind/bug 程序故障Bug,漏洞 stage/prod Production environment in tencent has been deploy

Comments

@jsonwan
Copy link
Collaborator

jsonwan commented Mar 10, 2023

Version / Branch / tag
3.5.x

出了什么问题?(What Happened?)
k8s负载中重复定义环境变量后,在较低版本k8s(v1.20+)中可运行,但在较高版本(v1.23+)中运行报错如下:
image

如何复现?(How to reproduce?)
在较高版本(v1.23+)k8s集群中部署容器化chart

预期结果(What you expect?)
成功部署不报错

@jsonwan jsonwan added the kind/bug 程序故障Bug,漏洞 label Mar 10, 2023
@jsonwan jsonwan self-assigned this Mar 10, 2023
jsonwan added a commit to jsonwan/bk-job that referenced this issue Mar 10, 2023
jsonwan added a commit that referenced this issue Mar 10, 2023
bugfix: 去除k8s负载中重复定义的环境变量 #1828
jsonwan added a commit to jsonwan/bk-job that referenced this issue Mar 10, 2023
jsonwan added a commit to jsonwan/bk-job that referenced this issue Mar 10, 2023
jsonwan added a commit that referenced this issue Mar 10, 2023
bugfix: 去除k8s负载中重复定义的环境变量 #1828
jsonwan added a commit that referenced this issue Mar 10, 2023
bugfix: 去除k8s负载中重复定义的环境变量 #1828
jsonwan added a commit to jsonwan/bk-job that referenced this issue Mar 16, 2023
更改statefulset中的环境变量名称,规避去除重复环境变量后注入丢失的问题
jsonwan added a commit to jsonwan/bk-job that referenced this issue Mar 16, 2023
更改statefulset中的环境变量名称,规避去除重复环境变量后注入丢失的问题
wangyu096 added a commit that referenced this issue Mar 17, 2023
bugfix: 去除k8s负载中重复定义的环境变量 #1828
jsonwan added a commit to jsonwan/bk-job that referenced this issue Mar 17, 2023
更改statefulset中的环境变量名称,规避去除重复环境变量后注入丢失的问题
jsonwan added a commit to jsonwan/bk-job that referenced this issue Mar 17, 2023
更改statefulset中的环境变量名称,规避去除重复环境变量后注入丢失的问题
@bkjob-bot bkjob-bot added the stage/prod Production environment in tencent has been deploy label Apr 13, 2023
@bkjob-bot bkjob-bot added the done 已上线到正式环境并验收通过 label May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done 已上线到正式环境并验收通过 kind/bug 程序故障Bug,漏洞 stage/prod Production environment in tencent has been deploy
Projects
None yet
Development

No branches or pull requests

2 participants