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

更新默认Cilium版本以修复一个已知Bug #1779

Merged
merged 3 commits into from
Apr 6, 2023
Merged

更新默认Cilium版本以修复一个已知Bug #1779

merged 3 commits into from
Apr 6, 2023

Conversation

littleplus
Copy link
Contributor

As a known Cilium bug with version 1.11.6 from: cilium/cilium#20437
The only solution is updating the version to 1.11.7: cilium/cilium#20437 (comment)

I could not boot up the kubernetes cluster with coredns network error:

Kubekey Config:

apiVersion: kubekey.kubesphere.io/v1alpha2
kind: Cluster
metadata:
  name: us
spec:
  hosts:
    - {name: node1, address: node1-ip, internalAddress: node1-ip, user: root, privateKeyPath: "~/.ssh/id_rsa"}
  roleGroups:
    etcd:
    - node1
    control-plane:
    - node1
    worker:
    - node1
  controlPlaneEndpoint:
    ## Internal loadbalancer for apiservers 
    # internalLoadbalancer: haproxy

    domain: lb.kubesphere.local
    address: ""
    port: 6443
  system:
    timezone: "Asia/Shanghai"
  kubernetes:
    version: v1.24.7
    clusterName: cluster.local
    autoRenewCerts: true
    containerManager: containerd
  etcd:
    type: kubekey
  network:
    plugin: cilium
    kubePodsCIDR: 10.233.128.0/20
    kubeServiceCIDR: 10.233.0.0/20
    ## multus support. https://github.com/k8snetworkplumbingwg/multus-cni
    multusCNI:
      enabled: false
  registry:
    privateRegistry: ""
    namespaceOverride: ""
    registryMirrors: []
    insecureRegistries: []
  addons: []

CoreDNS error:

│ [ERROR] plugin/errors: 2 2172798194240639882.4750332868417339179. HINFO: read udp 10.233.128.89:52976->8.8.8.8:53: i/o timeout
│ [ERROR] plugin/errors: 2 2172798194240639882.4750332868417339179. HINFO: read udp 10.233.128.89:33783->8.8.8.8:53: i/o timeout
│ [ERROR] plugin/errors: 2 2172798194240639882.4750332868417339179. HINFO: read udp 10.233.128.89:35504->8.8.8.8:53: i/o timeout
│ [INFO] SIGTERM: Shutting down servers then terminating
│ [INFO] plugin/health: Going into lameduck mode for 5s

Cilium error:

  cilium-health-ep   34m31s ago     57s ago      39      Get "http://10.233.128.42:4240/hello": context deadline exceeded (Client.Timeout exceeded while awaiting headers)   

What type of PR is this?

/kind bug

What this PR does / why we need it:

Update default cilium version from v1.11.6 to v1.11.7

Which issue(s) this PR fixes:

Fixes cilium/cilium#20437

Does this PR introduced a user-facing change?

None

As a known Cilium bug with version 1.11.6 from: cilium/cilium#20437
The only solution is updating the version to 1.11.7: cilium/cilium#20437 (comment)

I could not boot up the kubernetes cluster with coredns network error:
```
│ [ERROR] plugin/errors: 2 2172798194240639882.4750332868417339179. HINFO: read udp 10.233.128.89:52976->8.8.8.8:53: i/o timeout
│ [ERROR] plugin/errors: 2 2172798194240639882.4750332868417339179. HINFO: read udp 10.233.128.89:33783->8.8.8.8:53: i/o timeout
│ [ERROR] plugin/errors: 2 2172798194240639882.4750332868417339179. HINFO: read udp 10.233.128.89:35504->8.8.8.8:53: i/o timeout
│ [INFO] SIGTERM: Shutting down servers then terminating
│ [INFO] plugin/health: Going into lameduck mode for 5s
```

Cilium error:
```
  cilium-health-ep   34m31s ago     57s ago      39      Get "http://10.233.128.42:4240/hello": context deadline exceeded (Client.Timeout exceeded while awaiting headers)   
```
@ks-ci-bot ks-ci-bot added kind/bug Categorizes issue or PR as related to a bug. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 24, 2023
@pixiake
Copy link
Collaborator

pixiake commented Mar 27, 2023

@littleplus Thanks for this contribution!

The helm chat of cilium also needs to be updated.
https://github.com/kubesphere/kubekey/tree/master/cmd/kk/pkg/plugins/network

@pixiake
Copy link
Collaborator

pixiake commented Apr 6, 2023

@littleplus Thanks for this contribution!

The helm chat of cilium also needs to be updated. https://github.com/kubesphere/kubekey/tree/master/cmd/kk/pkg/plugins/network

#1794 I have submitted another pr to update cilium's chart.

@pixiake
Copy link
Collaborator

pixiake commented Apr 6, 2023

/lgtm
/approve

@ks-ci-bot ks-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Apr 6, 2023
@ks-ci-bot
Copy link
Collaborator

LGTM label has been added.

Git tree hash: a6002552711e79fb891d44e3d725157ff2b21903

@ks-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: littleplus, pixiake

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ks-ci-bot ks-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 6, 2023
@ks-ci-bot ks-ci-bot merged commit 9a9a094 into kubesphere:master Apr 6, 2023
@pixiake
Copy link
Collaborator

pixiake commented Apr 6, 2023

@all-contributors please add @littleplus for code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

controller cilium-health-ep failing context deadline exceeded
3 participants