-
Notifications
You must be signed in to change notification settings - Fork 44
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 #60 from nats-io/ft-option
Add option to switch to FT mode
- Loading branch information
Showing
8 changed files
with
160 additions
and
133 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,30 @@ | ||
--- | ||
apiVersion: "streaming.nats.io/v1alpha1" | ||
kind: "NatsStreamingCluster" | ||
metadata: | ||
name: "stan-ft" | ||
spec: | ||
natsSvc: "nats" | ||
size: 3 | ||
|
||
image: "nats-streaming:latest" | ||
|
||
config: | ||
storeDir: "/pv/stan" | ||
|
||
# When this option is introduced, the servers are restarted | ||
# one by one until they are all running with ft mode. | ||
ftGroup: "stan" | ||
|
||
# Define mounts in the Pod Spec | ||
template: | ||
spec: | ||
volumes: | ||
- name: stan-store-dir | ||
persistentVolumeClaim: | ||
claimName: streaming-pvc | ||
containers: | ||
- name: nats-streaming | ||
volumeMounts: | ||
- mountPath: /pv | ||
name: stan-store-dir |
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
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