Skip to content

Commit

Permalink
Update karmada-apiserver and kube-controller-manager to v1.31.3 by de…
Browse files Browse the repository at this point in the history
…fault.

Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
  • Loading branch information
chaosi-zju committed Nov 21, 2024
1 parent c950edd commit 6a5e5c1
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions charts/karmada/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,11 @@ helm install karmada-scheduler-estimator -n karmada-system ./charts/karmada
| `kubectl.image.repository` | Image of the kubectl | `"bitnami/kubectl"` |
| `kubectl.image.tag` | Image tag of the kubectl | `"latest"` |
| `kubectl.image.pullPolicy` | Image pull policy of the kubectl | `"Always"` |
| `kubectl.image.pullSecrets` | Image pull secret of the kubectl | `[]` |
| `kubectl.image.pullSecrets` | Image pull secret of the kubectl | `[]` |
| `cfssl.image.repository` | Image of the cfssl | `"cfssl/cfssl"` |
| `cfssl.image.tag` | Image tag of the cfssl | `"latest"` |
| `cfssl.image.pullPolicy` | Image pull policy of the cfssl | `"Always"` |
| `cfssl.image.pullSecrets` | Image pull secret of the cfssl | `[]` |
| `cfssl.image.pullSecrets` | Image pull secret of the cfssl | `[]` |
| `certs.mode` | Mode "auto" and "custom" are provided, "auto" means auto generate certificate, "custom" means use user certificate | `"auto"` |
| `certs.auto.expiry` | Expiry of the certificate | `"43800h"` |
| `certs.auto.hosts` | Hosts of the certificate | `["kubernetes.default.svc","*.etcd.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}","*.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}","*.{{ .Release.Namespace }}.svc","localhost","127.0.0.1"]` |
Expand Down Expand Up @@ -308,7 +308,7 @@ helm install karmada-scheduler-estimator -n karmada-system ./charts/karmada
| `apiServer.podAnnotations` | Annotations of the karmada-apiserver pods | `{}` |
| `apiServer.image.pullSecrets` | Image pull secret of the karmada-apiserver | `[]` |
| `apiServer.image.repository` | Image of the karmada-apiserver | `"registry.k8s.io/kube-apiserver"` |
| `apiServer.image.tag` | Image tag of the karmada-apiserver | `"v1.30.4"` |
| `apiServer.image.tag` | Image tag of the karmada-apiserver | `"v1.31.3"` |
| `apiServer.image.pullPolicy` | Image pull policy of the karmada-apiserver | `"IfNotPresent"` |
| `apiServer.resources` | Resource quota of the karmada-apiserver | `{}` |
| `apiServer.hostNetwork` | Deploy karmada-apiserver with hostNetwork. If there are multiple karmadas in one cluster, you'd better set it to "false" | `"false"` |
Expand Down Expand Up @@ -337,7 +337,7 @@ helm install karmada-scheduler-estimator -n karmada-system ./charts/karmada
| `kubeControllerManager.podAnnotations` | Annotations of the kube-controller-manager pods | `{}` |
| `kubeControllerManager.image.pullSecrets` | Image pull secret of the kube-controller-manager | `[]` |
| `kubeControllerManager.image.repository` | Image of the kube-controller-manager | `"registry.k8s.io/kube-controller-manager"` |
| `kubeControllerManager.image.tag` | Image tag of the kube-controller-manager | `"v1.30.4"` |
| `kubeControllerManager.image.tag` | Image tag of the kube-controller-manager | `"v1.31.3"` |
| `kubeControllerManager.image.pullPolicy` | Image pull policy of the kube-controller-manager | `"IfNotPresent"` |
| `kubeControllerManager.resources` | Resource quota of the kube-controller-manager | `{}` |
| `kubeControllerManager.nodeSelector` | Node selector of the kube-controller-manager | `{}` |
Expand Down
4 changes: 2 additions & 2 deletions charts/karmada/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ apiServer:
image:
registry: registry.k8s.io
repository: kube-apiserver
tag: "v1.30.4"
tag: "v1.31.3"
## Specify a imagePullPolicy, defaults to 'IfNotPresent'
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
Expand Down Expand Up @@ -572,7 +572,7 @@ kubeControllerManager:
image:
registry: registry.k8s.io
repository: kube-controller-manager
tag: "v1.30.4"
tag: "v1.31.3"
## Specify a imagePullPolicy, defaults to 'IfNotPresent'
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
Expand Down
2 changes: 1 addition & 1 deletion hack/deploy-karmada.sh
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ fi
# deploy karmada apiserver
TEMP_PATH_APISERVER=$(mktemp -d)
trap '{ rm -rf ${TEMP_PATH_APISERVER}; }' EXIT
KARMADA_APISERVER_VERSION=${KARMADA_APISERVER_VERSION:-"v1.30.4"}
KARMADA_APISERVER_VERSION=${KARMADA_APISERVER_VERSION:-"v1.31.3"}
cp "${REPO_ROOT}"/artifacts/deploy/karmada-apiserver.yaml "${TEMP_PATH_APISERVER}"/karmada-apiserver.yaml
sed -i'' -e "s/{{service_type}}/${KARMADA_APISERVER_SERVICE_TYPE}/g" "${TEMP_PATH_APISERVER}"/karmada-apiserver.yaml
sed -i'' -e "s/{{karmada_apiserver_version}}/${KARMADA_APISERVER_VERSION}/g" "${TEMP_PATH_APISERVER}"/karmada-apiserver.yaml
Expand Down
4 changes: 2 additions & 2 deletions operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ You can change it to `NodePort`:
...
karmadaAPIServer:
imageRepository: registry.k8s.io/kube-apiserver
imageTag: v1.30.4
imageTag: v1.31.3
replicas: 1
serviceType: NodePort
serviceSubnet: 10.96.0.0/12
Expand All @@ -229,7 +229,7 @@ You can add more SANs to karmada-apiserver certificate:
...
karmadaAPIServer:
imageRepository: registry.k8s.io/kube-apiserver
imageTag: v1.30.4
imageTag: v1.31.3
replicas: 1
serviceSubnet: 10.96.0.0/12
certSANs:
Expand Down
4 changes: 2 additions & 2 deletions operator/config/samples/karmada-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
storage: 3Gi
karmadaAPIServer:
imageRepository: registry.k8s.io/kube-apiserver
imageTag: v1.30.4
imageTag: v1.31.3
replicas: 1
serviceType: NodePort
serviceSubnet: 10.96.0.0/12
Expand All @@ -52,7 +52,7 @@ spec:
replicas: 1
kubeControllerManager:
imageRepository: registry.k8s.io/kube-controller-manager
imageTag: v1.30.4
imageTag: v1.31.3
replicas: 1
karmadaMetricsAdapter:
imageRepository: docker.io/karmada/karmada-metrics-adapter
Expand Down
4 changes: 2 additions & 2 deletions operator/config/samples/karmada.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
storage: 3Gi
karmadaAPIServer:
imageRepository: registry.k8s.io/kube-apiserver
imageTag: v1.30.4
imageTag: v1.31.3
replicas: 1
serviceType: NodePort
serviceSubnet: 10.96.0.0/12
Expand All @@ -47,7 +47,7 @@ spec:
replicas: 1
kubeControllerManager:
imageRepository: registry.k8s.io/kube-controller-manager
imageTag: v1.30.4
imageTag: v1.31.3
replicas: 1
karmadaMetricsAdapter:
imageRepository: docker.io/karmada/karmada-metrics-adapter
Expand Down
2 changes: 1 addition & 1 deletion operator/pkg/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const (
// EtcdDefaultVersion defines the default of the karmada etcd image tag
EtcdDefaultVersion = "3.5.13-0"
// KubeDefaultVersion defines the default of the karmada apiserver and kubeControllerManager image tag
KubeDefaultVersion = "v1.30.4"
KubeDefaultVersion = "v1.31.3"
// KarmadaDefaultServiceSubnet defines the default of the subnet used by k8s services.
KarmadaDefaultServiceSubnet = "10.96.0.0/12"
// KarmadaDefaultDNSDomain defines the default of the DNSDomain
Expand Down
2 changes: 1 addition & 1 deletion pkg/karmadactl/cmdinit/cmdinit.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func NewCmdInit(parentCommand string) *cobra.Command {
// kube image registry
flags.StringVarP(&opts.KubeImageMirrorCountry, "kube-image-mirror-country", "", "", "Country code of the kube image registry to be used. For Chinese mainland users, set it to cn")
flags.StringVarP(&opts.KubeImageRegistry, "kube-image-registry", "", "", "Kube image registry. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers to override default kube image registry")
flags.StringVar(&opts.KubeImageTag, "kube-image-tag", "v1.30.4", "Choose a specific Kubernetes version for the control plane.")
flags.StringVar(&opts.KubeImageTag, "kube-image-tag", "v1.31.3", "Choose a specific Kubernetes version for the control plane.")
// cert
flags.StringVar(&opts.ExternalIP, "cert-external-ip", "", "the external IP of Karmada certificate (e.g 192.168.1.2,172.16.1.2)")
flags.StringVar(&opts.ExternalDNS, "cert-external-dns", "", "the external DNS of Karmada certificate (e.g localhost,localhost.com)")
Expand Down

0 comments on commit 6a5e5c1

Please sign in to comment.