Deploying WordPress on Kubernetes, Step-by-Step

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ม.ค. 2025

ความคิดเห็น • 52

  • @AtlayGaming
    @AtlayGaming 4 ปีที่แล้ว +6

    As a playlist this seems to have died off, but I've found the content so far really useful over a year after it was posted. If anyone is having trouble with mysql login (as some comments suggest), there's a thing that's not clear in the video... the 'real password' in the comments in wp-mysql-secrets file is HIS real password, not YOUR real password. You need to take YOUR base64 encoded password (the one you pasted into the secrets file) and use the command 'echo -n YOURBASE64PASSWORD | base64 -d' to get YOUR plain text real password. This is in the git instructions, but is not really clearly explained, and not mentioned in the video at all. #peace

  • @blocSonic
    @blocSonic 5 ปีที่แล้ว +1

    Why didn't you use the mysql image env variable MYSQL_DATABASE to create the "wordpress" database?

  • @TomBelknapRoc
    @TomBelknapRoc 5 ปีที่แล้ว

    Fantastic tutorial. Thanks so much for the help!

  • @Kurukx
    @Kurukx 5 ปีที่แล้ว

    Nice series :) I am enjoying it. It interesting to watch open source go back to closes source as in its all a cloud provider who does it all for you now behind the curtain.

  • @thebephele980
    @thebephele980 5 ปีที่แล้ว +1

    Awesome Tutorial. So with this exact setup, will nodes be automatically added when the load increases and auto deleted when the load goes down?

  • @Alig96
    @Alig96 5 ปีที่แล้ว +1

    Hi Dave, can you explain how Terraform
    and Kubernetes both fit together into a Dev ops cycle? Both these tools seems to do the same thing (provision servers) but in slightly different ways. Should I be using one or the other or even both?

  • @zulhilmizainudin
    @zulhilmizainudin 4 ปีที่แล้ว +1

    If I follow this tutorial exactly, how much does it cost (monthly) to run everything like yours?

    • @arlandmv4053
      @arlandmv4053 4 ปีที่แล้ว

      1 check what instances will be running, think how much use per month you are expecting.. consider that everythin will probably scale up and down and give you the best availability for the least usage needed. thats why people use it.. to save money and secure your delivery of service.

  • @chasim1982
    @chasim1982 4 ปีที่แล้ว

    Nice Video, but I am trying to understand for database, why not statefulset is setup? further there is no need to mount the frontend Wordpress you build your image every thing will in frontend wordpress image

  • @kensingtoncloud9069
    @kensingtoncloud9069 5 ปีที่แล้ว

    following all your step but it says es not have host assigned... did it change now?

  • @blocSonic
    @blocSonic 5 ปีที่แล้ว

    Just a heads up that ReplicaSet's apiVersion is now "apps/v1". mysql-replicaset.yaml currently has "extensions/v1beta1".

  • @rahimrani77
    @rahimrani77 5 ปีที่แล้ว

    DO Kubernetes can also install multi-site WordPress right?

  • @exploretheworld17
    @exploretheworld17 4 ปีที่แล้ว

    are these commands to be enter in my personal computer or in the server of digitalocean?

    • @tutoriaLinux
      @tutoriaLinux  4 ปีที่แล้ว

      If you follow along you can see the parts that I'm running locally (in a local shell) and on DigitalOcean (in the browser).

  • @hugomichielsen1176
    @hugomichielsen1176 6 หลายเดือนก่อน

    Just wanted to give an update that following the repo's directions (plus some minor debugging with the help of some comments) still works 5 years later

    • @tutoriaLinux
      @tutoriaLinux  5 หลายเดือนก่อน +1

      Woah, that's actually amazing. I'll check to see if there are any open issues on the repo and do a bit of updating this week, if necessary. Thanks for that!

    • @hugomichielsen1176
      @hugomichielsen1176 4 หลายเดือนก่อน

      @@tutoriaLinux Personally, the only issues I ran into was that I had to apply a different version of the DCCOM (v0.1.53). Figured out to apply this one just from looking at the latest releases of the DCCOM (makes sense that there would be newer versions than when the video was uploaded). The second thing wasn't really an issue but there was some confusion of what password to put into the secrets file, which some other comments on this video clear up.

  • @Samos667
    @Samos667 5 ปีที่แล้ว

    when i apply the three file mysql-* i have this message: "error: unable to recognize "manifests/mysql-replicaset.yaml": no matches for kind "ReplicaSet" in version "extensions/v1beta1"". I have test to set apiVersion in apps/v1, the pods is created but when i do kubectl describe pods mysql-xxxxx i have this message "pod has unbound immediate PersistentVolumeClaims (repeated 2 times)" . I use kubernetes v1.16.1 on 3 VM. Can you help me ?

    • @KrsnaRodriguez
      @KrsnaRodriguez 5 ปีที่แล้ว

      Hi dude, you need to config persistent volume in your kube cluster. here a good guide to do that with NFS. "www.draconpern.com/2019/10/10/using-nfs-storage-for-dynamic-provisioning-on-kubernetes/"

  • @Mattias1995
    @Mattias1995 5 ปีที่แล้ว

    How would a staging environment work in this setup?

  • @KhimanandaOli
    @KhimanandaOli 5 ปีที่แล้ว

    I wan to create the multiple pod and tried creating by increasing replica value but got this error Multi-Attach error for volume "pvc-0ea2e5ee-9109-11e9-8417-c24091b62dcc" Volume is already used by pod(s) mysql-kl564. Will you please help me ?

  • @muhammadmunir3737
    @muhammadmunir3737 5 ปีที่แล้ว

    hey can you try wordpress having mysql and persistent volumes in microk8s??

  • @valentin7773
    @valentin7773 5 ปีที่แล้ว

    If i type : kubectl get pods - i see that the status is in pending state, further inspection using - kubectl describe pods (pods name) - i see that it tells me that there is insufficient memory...
    It means i have insufficient memory on my VM ?
    help would be appreciated !!

  • @umniktechnology9717
    @umniktechnology9717 5 ปีที่แล้ว

    Thank you for the tuts! but Im getting this pod mysql-4cs85 does not have a host assigned when I did the bash mysql command..

  • @LovePlane
    @LovePlane 5 ปีที่แล้ว

    Thanks dave !

  • @flakkanon
    @flakkanon 5 ปีที่แล้ว

    I'm not sure why but i get:
    `ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)`
    even after generating the passwords (base64 & plain), updating the secret file, applying it, and starting volume claim, replica set and service.
    When the terminal prompts for root's password, I paste the unencoded password that i put in a comment in wp-mysql-secrets.yml.

    • @michaelivliev4378
      @michaelivliev4378 5 ปีที่แล้ว

      Hi! I have also the same issue, have you solved it somehow?

    • @cmtopher
      @cmtopher 5 ปีที่แล้ว

      I get the same problem .. Anyone figure it out.?

  • @boot-strapper
    @boot-strapper 5 ปีที่แล้ว

    Everything so far has worked but when I do `kubectl exec -it mysql-l8578 -- bash` I get a time out. Is this token related?

    • @boot-strapper
      @boot-strapper 5 ปีที่แล้ว

      Specificallly: `Error from server: error dialing backend: dial tcp {{IP}}:10250: i/o timeout`

    • @boot-strapper
      @boot-strapper 5 ปีที่แล้ว

      and also, my machine is in DMZ and has no firewall running - I was thinking maybe it was a networking thing on my side. I have no idea how to proceed :'(

  • @abdulshaikh6807
    @abdulshaikh6807 5 ปีที่แล้ว

    Hey need some guidance,how make a career in devops docker and kubernetes how to start I m working as a Windows admin

    • @tutoriaLinux
      @tutoriaLinux  5 ปีที่แล้ว

      What have you tried so far?

  • @ezegarat5748
    @ezegarat5748 5 ปีที่แล้ว +2

    Mate, been watching for a long time, your content is great. I'm working as a classic Windows/Linux SysAdmin and i have as an objective to become an SRE. I've been following the DevOps RoadMap 2018 and i'm doing some courses to learn Web Dev. Any recommendations or projects i could make to get better? Thank you!

  • @michaelivliev4378
    @michaelivliev4378 5 ปีที่แล้ว

    Hi, i have always the same Error when i am try to login to mysql "ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)"
    maybe somebody can help me with solution?

    • @cmtopher
      @cmtopher 5 ปีที่แล้ว

      I get the same here, anyone figure it out.

    • @emalov98
      @emalov98 5 ปีที่แล้ว

      Same :(

  • @abdulshaikh6807
    @abdulshaikh6807 5 ปีที่แล้ว

    I have done devops training

    • @tutoriaLinux
      @tutoriaLinux  5 ปีที่แล้ว

      I'm not sure what that means. What skills have you learned? What practical projects have you worked on or created (using those skills)? What kind of devops roles or jobs have you applied to, and how did the interviews go? Did you get feedback from interviewers, and if so, where did they say you were weak?

  • @lotengproject
    @lotengproject 3 ปีที่แล้ว

    mysql databases is error connection

  • @jKomwa02
    @jKomwa02 5 ปีที่แล้ว

    Is he using Ubuntu?

    • @Clobercow1
      @Clobercow1 5 ปีที่แล้ว

      Probably yes. He uses it with i3.

    • @FabianBarajas
      @FabianBarajas 5 ปีที่แล้ว

      based on the name of the terminal window I think he is.

  • @emalov98
    @emalov98 5 ปีที่แล้ว

    mysql -u root -p -> Access denied for user 'root'@'localhost' (using password: YES)

    • @LtdJorge
      @LtdJorge 5 ปีที่แล้ว +1

      if you are logging in with root, just do "sudo mysql" and enter your password. Should always work. Unless you have root login disabled, turn it on in my.cnf file.

    • @LtdJorge
      @LtdJorge 4 ปีที่แล้ว

      @Alisha Lopes you are already root. You can just type mysql

  • @rafaelpinto4957
    @rafaelpinto4957 5 ปีที่แล้ว

    wow.....8k plus views.....141 likes.....c'mon

  • @saitmty
    @saitmty 5 ปีที่แล้ว

    apps/v1 para k8s v1.16
    en replicaset.yaml

    • @manmeetsingh1712
      @manmeetsingh1712 5 ปีที่แล้ว

      Thanks a lot.
      To expand in mysql-replicaset.yaml
      apiVersion: extensions/v1beta1
      should be
      apiVersion: apps/v1