- Machine Learning With Go
- Daniel Whitenack
- 205字
- 2021-07-08 10:37:29
Creating data repositories for data versioning
If you followed the local installation of Pachyderm specified in the Pachyderm documentation, you should have the following:
- Kubernetes running in a Minikube VM on your machine
- The pachctl command line tool installed and connected to your Pachyderm cluster
Of course, if you have a production cluster running in a cloud, the following steps still apply. Your pachctl would just be connected to the remote cluster.
We will be demonstrating data versioning functionality with the pachctl Command-line Interface ( CLI) tool below (which is a Go program). However, as mentioned above, Pachyderm has a full-fledged Go client. You can create repositories, commit data, and much more directly from your Go programs. This functionality will be demonstrated later in Chapter 9, Deploying and distributing Analyses and Models.
To create a repository of data called myrepo, you can run this code:
$ pachctl create-repo myrepo
You can then confirm that the repository exists with list-repo:
$ pachctl list-repo
NAME CREATED SIZE
myrepo 2 seconds ago 0 B
This myrepo repository is a collection of data that we have defined and is ready for housing-versioned data. Right now, there is no data in the repository, because we haven't put any data there yet.
推薦閱讀
- Visual Basic程序設計(第3版):學習指導與練習
- 網頁設計與制作教程(HTML+CSS+JavaScript)(第2版)
- Functional Programming in JavaScript
- TypeScript項目開發實戰
- Python極簡講義:一本書入門數據分析與機器學習
- Create React App 2 Quick Start Guide
- Python圖形化編程(微課版)
- 零基礎學C語言(升級版)
- UX Design for Mobile
- HTML5 WebSocket權威指南
- Java面向對象程序設計教程
- JavaScript語法簡明手冊
- Kotlin入門與實戰
- ServiceDesk Plus 8.x Essentials
- 語義Web編程