Skip to content

Commit

Permalink
optimize internal network calls (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
nightwhite authored Mar 19, 2024
1 parent e5659b0 commit 1074a07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/src/region/cluster/cluster.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export class ClusterService {
const conf = user.kubeconfig
const kc = new k8s.KubeConfig()
kc.loadFromString(conf)
kc.clusters[0].server = 'https://kubernetes.default.svc.cluster.local'
return kc
}

Expand Down

0 comments on commit 1074a07

Please sign in to comment.