-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #663 from TrekkieCoder/main
cicd: updated k3s-multi-master scenario
- Loading branch information
Showing
7 changed files
with
56 additions
and
33 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
cicd/k3s-multi-master-service-proxy/iperf-onearm-ds-all.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: iperf-service | ||
annotations: | ||
loxilb.io/lbmode: "onearm" | ||
loxilb.io/prefLocalPod: "yes" | ||
spec: | ||
externalTrafficPolicy: Local | ||
loadBalancerClass: loxilb.io/loxilb | ||
selector: | ||
app: iperf-app | ||
ports: | ||
- port: 55001 | ||
targetPort: 5001 | ||
type: LoadBalancer | ||
--- | ||
apiVersion: apps/v1 | ||
kind: DaemonSet | ||
metadata: | ||
name: iperf-daemonset | ||
labels: | ||
app: iperf-app | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: iperf-app | ||
template: | ||
metadata: | ||
labels: | ||
app: iperf-app | ||
spec: | ||
dnsPolicy: ClusterFirstWithHostNet | ||
containers: | ||
- name: iperf | ||
image: eyes852/ubuntu-iperf-test:0.5 | ||
command: [ "iperf", "-s"] | ||
ports: | ||
- containerPort: 5001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters