Usage Reporting
Out of date
This guide contains outdated information pertaining to Kubeflow 1.0. This guide needs to be updated for Kubeflow 1.1.When enabled, Kubeflow will report anonymous usage data using Spartakus, Kubernetes' reporting tool. Spartakus does not report any personal information. See the Spartakus docs for more detail.
Allowing usage reporting is entirely voluntary.
Reporting usage data is one of the most significant contributions you can make to Kubeflow
Please consider allowing the reporting of usage data. The data helps the Kubeflow community to improve the project and helps the many companies working on Kubeflow justify continued investment.Disable usage reporting on an existing Kubeflow deployment
If you’ve already deployed Kubeflow, run the following command to disable usage
reporting on your existing deployment. The command removes the
spartakus-volunteer application:
export NAMESPACE=kubeflow
kubectl delete -n ${NAMESPACE} deploy spartakus-volunteer
You can run the following command to check for existence of the application:
kubectl get -n ${NAMESPACE} deploy spartakus-volunteer
Remove usage reporting before deploying Kubeflow
The following instructions assume that you plan to use the kfctl command-line interface to deploy Kubeflow.
This guide refers to the ${CONFIG_FILE}, which is the Kubeflow configuration
file in your Kubeflow deployment directory. For example,
${KF_DIR}/kfctl_k8s_istio.v1.1.0.yaml or
${KF_DIR}/kfctl_gcp_iap.v1.0.2.yaml.
To prevent Spartakus from being deployed:
-
Follow your chosen guide to deploying Kubeflow, but stop before you deploy Kubeflow. For example, see the guide to deploying Kubeflow with kfctl_k8s_istio.
-
When you reach the setup and deploy step, skip the
kfctl applycommand and run thekfctl buildcommand instead, as described in the above guide. Now you can edit the configuration files before deploying Kubeflow. -
Edit your
${CONFIG_FILE}file as described below. -
Run the
kfctl applycommand to deploy Kubeflow:
cd ${KF_DIR}
kfctl apply -V -f ${CONFIG_FILE}
Removing Spartakus from your configuration
You need to remove the Spartakus entry from KfDef.Spec.Applications in
the ${CONFIG_FILE} file. Find the applications section of the YAML
file and delete the following lines:
- kustomizeConfig:
parameters:
- initRequired: true
name: usageId
value: <randomly-generated-id>
- initRequired: true
name: reportUsage
value: "true"
repoRef:
name: manifests
path: common/spartakus
name: spartakus
Alternatively, some YAML configuration files may include entries for
KfDef.Spec.Components and KfDef.Spec.ComponentParams instead of
KfDef.Spec.Applications. In this case:
-
Find the
componentParamssection of the YAML file and delete the following lines:spartakus: - initRequired: true name: usageId value: "<randomly-generated-id>" - initRequired: true name: reportUsage value: "true" -
Find the
componentssection of the YAML file and delete the following line:- spartakus
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.