- 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.
推薦閱讀
- Microsoft Dynamics 365 Extensions Cookbook
- 算法精粹:經(jīng)典計算機(jī)科學(xué)問題的Java實(shí)現(xiàn)
- 體驗(yàn)設(shè)計原理:行為、情感和細(xì)節(jié)
- 游戲程序設(shè)計教程
- JavaScript應(yīng)用開發(fā)實(shí)踐指南
- 計算機(jī)應(yīng)用基礎(chǔ)教程(Windows 7+Office 2010)
- Hands-On Nuxt.js Web Development
- Node.js開發(fā)指南
- Node.js 12實(shí)戰(zhàn)
- SQL Server 2008 R2數(shù)據(jù)庫技術(shù)及應(yīng)用(第3版)
- 貫通Tomcat開發(fā)
- HTML5程序設(shè)計基礎(chǔ)教程
- Spring Boot 2+Thymeleaf企業(yè)應(yīng)用實(shí)戰(zhàn)
- Learning Node.js for Mobile Application Development
- Spring Microservices