Website: "kfctl init ${KFAPP} --config=${CONFIG} -V" does not work

Created on 18 Jul 2019  路  7Comments  路  Source: kubeflow/website

Hi,

the init command "kfctl init ${KFAPP} --config=${CONFIG} -V" does not work. It says:

$ kfctl init ${KFAPP} --config=${CONFIG} -V
Error: unknown flag: --config
Usage:
kfctl init <[path/]name> [flags]
....
The kfctl vrsion I am using is:
$ kfctl version
v20181207-4e7f4ed-198-gaeea303e-dirty-03e65e

Please advise how to proceed.
Thanks!

kinbug

All 7 comments

Issue-Label Bot is automatically applying the label kind/bug to this issue, with a confidence of 0.61. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

/assign @yanniszark

@yanniszark Please would you take a look at this issue.

/assign
/unassign @yanniszark

Hallo @doschkinow The master version of the docs are for Kubeflow v0.6. You can get the latest version of kfctl here:
https://github.com/kubeflow/kubeflow/releases

Alternatively, if you want to continue using an older version of Kubeflow, such as v0.5, you can choose the corresponding version of the docs from the version dropdown near the top right of the page.

Many thanks for the hint! I'll try this and come back.

I noticed, that the v0.5 relies on ksonnet which is deprecated, so I decided to go with the latest version (v0.6, just released a couple of hours ago). However I hit a Makefile problem when trying to build kfctl, as described in the "Getting Started":

(base) [opc@bastion ~]$ cd kubeflow-0.6.0/bootstrap/
(base) [opc@bastion bootstrap]$ make build-kfctl-container
Makefile:85: missing target pattern. Stop.*

(base) [opc@bastion bootstrap]$ make -v
GNU Make 3.82
Built for x86_64-redhat-linux-gnu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Any hints or suggestions?
Thanks!

It turned out that in my env I had a GOPATH variable which had a ":" inside. So the syntax for the target in line 85 was incorrect. Unsetting GOPATH before calling "make build-kfctl-container" solved my problem.

This could be considered as a bug in the Makefile.

Was this page helpful?
0 / 5 - 0 ratings