Created
August 11, 2019 10:04
-
-
Save yptheangel/07ca8515532c60cb0c2fd970d2bb85da to your computer and use it in GitHub Desktop.
debugging an example of kubeflow pipeline
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
kind: PersistentVolume | |
apiVersion: v1 | |
metadata: | |
name: mypv | |
namespace: kubeflow | |
labels: | |
type: local | |
spec: | |
storageClassName: sata | |
capacity: | |
storage: 10Gi | |
accessModes: | |
- ReadWriteMany | |
hostPath: | |
path: "/mypv" |
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
kind: PersistentVolumeClaim | |
apiVersion: v1 | |
metadata: | |
name: mypvc | |
namespace: kubeflow | |
spec: | |
accessModes: | |
- ReadWriteMany | |
resources: | |
requests: | |
storage: 3Gi | |
storageClassName: sata |
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
apiVersion: "kubeflow.org/v1" | |
kind: "TFJob" | |
metadata: | |
name: "mnist" | |
namespace: kubeflow | |
spec: | |
cleanPodPolicy: None | |
tfReplicaSpecs: | |
Worker: | |
replicas: 1 | |
restartPolicy: Never | |
template: | |
spec: | |
containers: | |
- name: tensorflow | |
image: gcr.io/kubeflow-ci/tf-mnist-with-summaries:1.0 | |
command: | |
- "python" | |
- "/var/tf_mnist/mnist_with_summaries.py" | |
- "--log_dir=/train" | |
- "--learning_rate=0.01" | |
- "--batch_size=150" | |
volumeMounts: | |
- mountPath: "/mypv" | |
name: "mypv" | |
volumes: | |
- name: "mypv" | |
persistentVolumeClaim: | |
claimName: "mypvc" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment