We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this a BUG REPORT or FEATURE REQUEST?: FEATURE REQUEST
What happened: storkctl generate clusterpair has a flag (--storageoptions) to add additional storage options, for example mode=DisasterRecovery.
storkctl generate clusterpair
--storageoptions
mode=DisasterRecovery
storkctl generate clusterpair does not have any way to add that storage option to the manifests before they are applied.
What you expected to happen: A way to provide the storageoption mode=DisasterRecovery to storkctl create clusterpair
storkctl create clusterpair
How to reproduce it (as minimally and precisely as possible): 2 Portworx enabled kubernetes clusters are required
Required variables:
/opt/pwx/bin/pxctl cluster token show
To generate clusterpair manifests, use this:
storkctl generate clusterpair generated-prod-to-dr \ --kubeconfig $DST_KUBE_CONFIG \ --namespace default \ --storageoptions "ip=$DESTINATION_IP,token=$DESTINATION_TOKEN,mode=DisasterRecovery" \ >generated-prod-to-dr.yaml storkctl generate clusterpair generated-dr-to-prod \ --kubeconfig $SRC_KUBE_CONFIG \ --namespace default \ --storageoptions "ip=$SOURCE_IP,token=$SOURCE_TOKEN,mode=DisasterRecovery" \ >generated-dr-to-prod.yaml
To create and get back the yaml use this
storkctl create clusterpair created \ -n default \ --src-kube-file $SRC_KUBE_CONFIG \ --src-ip $SOURCE_IP \ --src-token $SOURCE_TOKEN \ --dest-kube-file $DST_KUBE_CONFIG \ --dest-ip $DESTINATION_IP \ --dest-token $DESTINATION_TOKEN kubectl get clusterpairs.stork.libopenstorage.org created \ --kubeconfig $SRC_KUBE_CONFIG \ -o yaml \ >created-prod-to-dr.yaml kubectl get clusterpairs.stork.libopenstorage.org created \ --kubeconfig $DST_KUBE_CONFIG \ -o yaml \ >created-dr-to-prod.yaml
Anything else we need to know?:
Environment:
kubectl version
uname -a
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is this a BUG REPORT or FEATURE REQUEST?:
FEATURE REQUEST
What happened:
storkctl generate clusterpair
has a flag (--storageoptions
) to add additional storage options, for examplemode=DisasterRecovery
.storkctl generate clusterpair
does not have any way to add that storage option to the manifests before they areapplied.
What you expected to happen:
A way to provide the storageoption
mode=DisasterRecovery
tostorkctl create clusterpair
How to reproduce it (as minimally and precisely as possible):
2 Portworx enabled kubernetes clusters are required
Required variables:
/opt/pwx/bin/pxctl cluster token show
on the clusterTo generate clusterpair manifests, use this:
To create and get back the yaml use this
Anything else we need to know?:
Environment:
kubectl version
): N/Auname -a
): N/AThe text was updated successfully, but these errors were encountered: