-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: fix up GKE deployment to be way more interesting
- Loading branch information
Alan Scherger
committed
Jun 26, 2019
1 parent
9b50cfc
commit 5a5fda0
Showing
2 changed files
with
103 additions
and
51 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
apiVersion: apps/v1 | ||
kind: ReplicaSet | ||
metadata: | ||
name: ping-rs | ||
spec: | ||
replicas: 3 | ||
selector: | ||
matchLabels: | ||
type: general | ||
template: | ||
metadata: | ||
labels: | ||
type: general | ||
spec: | ||
serviceAccountName: rafting-quoll-netifi-broker | ||
containers: | ||
- name: ping | ||
image: netifi/pinger-ping:1.6.4 | ||
ports: | ||
- containerPort: 8080 | ||
env: | ||
- name: NETIFI_CLIENT_DISCOVERY_ENVIRONMENT | ||
value: kubernetes | ||
- name: NETIFI_CLIENT_DISCOVERY_KUBERNETESPROPERTIES_CONNECTIONTYPE | ||
value: TCP | ||
- name: NETIFI_CLIENT_DISCOVERY_KUBERNETESPROPERTIES_DEPLOYMENTNAME | ||
value: rafting-quoll-netifi-broker |