Skip to content
New issue

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

Removed drenv setup #1604

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

pruthvitd
Copy link

Removed documentation step "drenv setup" as its unnecessary and leads to following error:

$ drenv setup
usage: drenv setup [-h] [-v] [--name-prefix PREFIX] filename drenv setup: error: the following arguments are required: filename

Removed documentation step "drenv setup" as its unnecessary and
leads to following error:

$ drenv setup
usage: drenv setup [-h] [-v] [--name-prefix PREFIX] filename
drenv setup: error: the following arguments are required: filename

Signed-off-by: pruthvitd <prd@redhat.com>
```
drenv setup
```

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue is the missing filename argument. It is true that the setup step is not necessary at this time, since the issues it solved are already fix in current minikube version, but in the future we may have new issues requiring setup. Also we supports now lima on macOS, which may require setup in the future even if minikube does not require it.

In the future we can use drenv setup to install and upgrade the many tools that today need to be installed manually (e.g. minikube, kubectl, clusteradm, ...) or install system packages (e.g. libvirt on Linux, lima on macOS).

A better way to to fix this is to add the missing filename argument:

drenv setup envs/regional-dr.yaml

And we can add a note to replace the environment file with another if you want to setup the system for another environment.

@@ -215,13 +215,6 @@ Change directory to the test directory:
cd test
```

To setup up minikube for drenv run once before starting any
environment:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here we should remove "minikube", since we support multiple providers (default to lima on macOS and minikube on Linux).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants