mirror of
https://github.com/rancher/k3k.git
synced 2026-08-19 12:26:17 +00:00
isolate test
This commit is contained in:
@@ -327,14 +327,18 @@ jobs:
|
||||
done
|
||||
'
|
||||
|
||||
######################
|
||||
|
||||
- name: Run conformance tests
|
||||
run: |
|
||||
hydrophone --conformance --parallel 4 \
|
||||
hydrophone --focus 'should be able to change the type from (ClusterIP|NodePort) to ExternalName' \
|
||||
--kubeconfig ${{ github.workspace }}/k3k-mycluster-mycluster-kubeconfig.yaml \
|
||||
--output-dir /tmp
|
||||
|
||||
# - name: Run conformance tests
|
||||
# run: |
|
||||
# hydrophone --conformance --parallel 4 \
|
||||
# --kubeconfig ${{ github.workspace }}/k3k-mycluster-mycluster-kubeconfig.yaml \
|
||||
# --output-dir /tmp
|
||||
|
||||
- name: Collect logs
|
||||
if: always()
|
||||
env:
|
||||
|
||||
@@ -93,16 +93,6 @@ func buildServerConfig(cluster *v1beta1.Cluster, initServer bool, serviceIP, tok
|
||||
// no extra config for virtual mode
|
||||
}
|
||||
|
||||
// In hcp mode the apiserver pod IP is unreachable from external worker
|
||||
// nodes, so the kube-apiserver's default lease-based endpoint reconciler
|
||||
// would publish a broken default/kubernetes Endpoints (advertise-address +
|
||||
// secure-port). Disable it so K3k can own that Endpoints object and point
|
||||
// it at the externally-reachable host:port (NodePort / LB / Ingress).
|
||||
if cluster.Spec.Mode == v1beta1.HCPClusterMode {
|
||||
serverConfig.KubeApiServerArg = append(serverConfig.KubeApiServerArg, "endpoint-reconciler-type=none")
|
||||
serverConfig.EgressSelectorMode = "cluster"
|
||||
}
|
||||
|
||||
// In shared mode workloads run on the host cluster, so the apiserver pod
|
||||
// can reach them directly via the host pod network and the egress
|
||||
// selector is unnecessary.
|
||||
|
||||
Reference in New Issue
Block a user