- 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 6.0程序設(shè)計(jì)計(jì)算機(jī)組裝與維修
- Cross-platform Desktop Application Development:Electron,Node,NW.js,and React
- .NET 4.0面向?qū)ο缶幊搪劊夯A(chǔ)篇
- C和C++安全編碼(原書(shū)第2版)
- Python Data Analysis(Second Edition)
- jQuery開(kāi)發(fā)基礎(chǔ)教程
- 信息技術(shù)應(yīng)用基礎(chǔ)
- C程序設(shè)計(jì)實(shí)踐教程
- PySide 6/PyQt 6快速開(kāi)發(fā)與實(shí)戰(zhàn)
- Webpack實(shí)戰(zhàn):入門(mén)、進(jìn)階與調(diào)優(yōu)
- Scala Reactive Programming
- Java 11 and 12:New Features
- 程序員的英語(yǔ)
- 大話C語(yǔ)言
- Pandas入門(mén)與實(shí)戰(zhàn)應(yīng)用:基于Python的數(shù)據(jù)分析與處理