Skip to content

Commit

Permalink
ci: fix deepflow installation (#3443)
Browse files Browse the repository at this point in the history
Signed-off-by: zhangzujian <[email protected]>
  • Loading branch information
zhangzujian authored and zbb88888 committed Nov 28, 2023
1 parent 44649d8 commit 113c9a7
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-x86-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ concurrency:

env:
GO_VERSION: ''
GOSEC_VERSION: '2.17.0'
HELM_VERSION: v3.12.3
SUBMARINER_VERSION: '0.14.6'
GOSEC_VERSION: '2.18.2'
HELM_VERSION: v3.13.2
SUBMARINER_VERSION: '0.16.2'

jobs:
build-kube-ovn-base:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scheduled-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ concurrency:

env:
GO_VERSION: ''
HELM_VERSION: v3.12.3
SUBMARINER_VERSION: '0.14.6'
HELM_VERSION: v3.13.2
SUBMARINER_VERSION: '0.16.2'

jobs:
k8s-conformance-e2e:
Expand Down
15 changes: 9 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ MULTUS_VERSION = v4.0.2
MULTUS_IMAGE = ghcr.io/k8snetworkplumbingwg/multus-cni:$(MULTUS_VERSION)-thick
MULTUS_YAML = https://raw.githubusercontent.com/k8snetworkplumbingwg/multus-cni/$(MULTUS_VERSION)/deployments/multus-daemonset-thick.yml

KUBEVIRT_VERSION = v0.59.2
KUBEVIRT_VERSION = v1.1.0
KUBEVIRT_OPERATOR_IMAGE = quay.io/kubevirt/virt-operator:$(KUBEVIRT_VERSION)
KUBEVIRT_API_IMAGE = quay.io/kubevirt/virt-api:$(KUBEVIRT_VERSION)
KUBEVIRT_CONTROLLER_IMAGE = quay.io/kubevirt/virt-controller:$(KUBEVIRT_VERSION)
Expand All @@ -35,16 +35,16 @@ KUBEVIRT_OPERATOR_YAML = https://github.com/kubevirt/kubevirt/releases/download/
KUBEVIRT_CR_YAML = https://github.com/kubevirt/kubevirt/releases/download/$(KUBEVIRT_VERSION)/kubevirt-cr.yaml
KUBEVIRT_TEST_YAML = https://kubevirt.io/labs/manifests/vm.yaml

CILIUM_VERSION = 1.14.1
CILIUM_VERSION = 1.14.4
CILIUM_IMAGE_REPO = quay.io/cilium/cilium

CERT_MANAGER_VERSION = v1.12.5
CERT_MANAGER_VERSION = v1.13.2
CERT_MANAGER_CONTROLLER = quay.io/jetstack/cert-manager-controller:$(CERT_MANAGER_VERSION)
CERT_MANAGER_CAINJECTOR = quay.io/jetstack/cert-manager-cainjector:$(CERT_MANAGER_VERSION)
CERT_MANAGER_WEBHOOK = quay.io/jetstack/cert-manager-webhook:$(CERT_MANAGER_VERSION)
CERT_MANAGER_YAML = https://github.com/cert-manager/cert-manager/releases/download/$(CERT_MANAGER_VERSION)/cert-manager.yaml

SUBMARINER_VERSION = $(shell echo $${SUBMARINER_VERSION:-0.14.6})
SUBMARINER_VERSION = $(shell echo $${SUBMARINER_VERSION:-0.16.2})
SUBMARINER_OPERATOR = quay.io/submariner/submariner-operator:$(SUBMARINER_VERSION)
SUBMARINER_GATEWAY = quay.io/submariner/submariner-gateway:$(SUBMARINER_VERSION)
SUBMARINER_LIGHTHOUSE_AGENT = quay.io/submariner/lighthouse-agent:$(SUBMARINER_VERSION)
Expand Down Expand Up @@ -789,9 +789,12 @@ kind-install-deepflow: kind-install
helm install deepflow -n deepflow deepflow/deepflow \
--create-namespace --version $(DEEPFLOW_CHART_VERSION) \
--set global.image.repository=$(DEEPFLOW_IMAGE_REPO) \
--set global.image.pullPolicy=IfNotPresent \
--set grafana.image.repository=$(DEEPFLOW_IMAGE_REPO)/grafana \
--set deepflow-agent.sysctlInitContainer.enabled=false \
--set 'mysql.storageConfig.persistence.size=5Gi' \
--set grafana.image.pullPolicy=IfNotPresent \
--set mysql.storageConfig.persistence.size=5Gi \
--set mysql.image.pullPolicy=IfNotPresent \
--set clickhouse.image.pullPolicy=IfNotPresent \
--set-json 'clickhouse.storageConfig.persistence=$(CLICKHOUSE_PERSISTENCE)'
kubectl -n deepflow patch svc deepflow-grafana --type=json \
-p '[{"op": "replace", "path": "/spec/ports/0/nodePort", "value": $(DEEPFLOW_GRAFANA_PORT)}]'
Expand Down
2 changes: 1 addition & 1 deletion yamls/kind.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ nodes:
hostPort: {{ host_port }}
# optional: set the bind address on the host
# 0.0.0.0 is the current default
listenAddress: "127.0.0.1"
listenAddress: "0.0.0.0"
# optional: set the protocol to one of TCP, UDP, SCTP.
# TCP is the default
protocol: TCP
Expand Down

0 comments on commit 113c9a7

Please sign in to comment.