In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to quickly install and use Argo, I hope you will learn something after reading this article, let's discuss it together!
The Argo project is a collection of native Kubernetes tools for running and managing jobs and applications on Kubernetes. Argo provides a simple combination of three computing modes for creating work and applications on Kubernetes-the service pattern, the workflow pattern, and the event-based pattern. All Argo tools are implemented as controllers and custom resources.
Quick installation
Download page: https://github.com/argoproj/argo-workflows/releases
Linux
Download the client through curl, as follows:
# Download the binarycurl-LO https://github.com/argoproj/argo/releases/download/v3.0.0-rc3/argo-linux-amd64.gz# Unzipgunzip argo-linux-amd64.gz# Make binary executablechmod + x argo-linux-amd64# Move binary to pathmv. / argo-linux-amd64 / usr/local/bin/argo# Test installationargo versionArgo Controller Service installs kubectl create namespace argokubectl apply-nargo-f https://raw.githubusercontent.com/argoproj/argo/v3.0.0-rc3/manifests/install.yaml
Open the node deployment pod:
After installation, use kubectl get pod-n argo to find that it is always in the pending state, and you need to turn on the task deployment of the master node.
Kubectl taint nodes-all node-role.kubernetes.io/master- runs the test
The workflow where the example is run:
Argo submit-n argo-- watch https://raw.githubusercontent.com/argoproj/argo-workflows/master/examples/hello-world.yamlargo list-n argoargo get-n argo @ latestargo logs-n argo @ latest
View UI:
Use port-forward to forward ports:
Kubectl-n argo port-forward deployment/argo-server 2746
The user interface can access http://localhost:2746
Use NodePort:
ApiVersion: v1kind: Servicemetadata: name: nginx-servicespec: type: NodePort sessionAffinity: ClientIP selector:app: nginx ports:- port: 80 nodePort: 30080
Kind:Service representative is a service
Type:NodePort K8s will open a port on each Node and the port of each Node will be the same. Programs outside the Kubernetes cluster can access the Service through: NodePort.
Selector: which services should be exposed
Ports exposed by port:service
Port of TargetPort:pod
The forwarding logic is:
: =:
The service can be accessed by using http://: on the appropriate node.
After reading this article, I believe you have a certain understanding of "how to quickly install and use Argo". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.