In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "what is the method of Helm deployment service". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what is the method of Helm deployment service".
# wordpress deployment of business applications
First, we need to add the official Repo address of WordPress:
Helm3 repo add bitnami https://charts.bitnami.com/bitnami
Perform the Helm Install deployment WordPress:
Helm3 install wordpress bitnami/wordpress\-set mariadb.primary.persistence.enabled=true\-set mariadb.primary.persistence.storageClass=alicloud-disk-ssd\-set mariadb.primary.persistence.size=20Gi\-set persistence.enabled=false
Where:
In order to persist data, mariadb uses persistent storage volumes to save data
Persistent storage selects Ali Cloud ssd cloud disk with the size of 20Gi, and is automatically created by configuring StorageClassName.
WordPress does not require data persistence, and the data volume option can be configured as false
After a successful execution, the following should be returned:
NAME: wordpressLAST DEPLOYED: Wed Jan 20 15:09:45 2021NAMESPACE: handsonackSTATUS: deployedREVISION: 1NOTESVisualization * Please be patient while the chart is being deployed * * Your WordPress site can be accessed through the following DNS name from within your cluster: wordpress.handsonack.svc.cluster.local (port 80) To access your WordPress site from outside the cluster follow the steps below:1. Get the WordPress URL by running these commands: NOTE: It may take a few minutes for the LoadBalancer IP to be available. Watch the status with: 'kubectl get svc-- namespace handsonack-w wordpress' export SERVICE_IP=$ (kubectl get svc-- namespace handsonack wordpress-- template "{{range (index .status.loadBalancer.ing ress 0)}} {{.}} {{end}") echo "WordPress URL: http://$SERVICE_IP/" echo" WordPress Admin URL: http://$SERVICE_IP/admin"2. Open a browser and access WordPress using the obtained URL.3. Login with the following credentials below to see your blog: echo Username: user echo Password: $(kubectl get secret-- namespace handsonack wordpress- o jsonpath= "{.data.wordpress-password}" | base64-- decode)
You can also view the deployment status with the following command:
Helm3 status wordpress thank you for reading, the above is the content of "what is the method of Helm deployment service". After the study of this article, I believe you have a deeper understanding of what the method of Helm deployment service is, and the specific usage still needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.