CyberScribe.org
CyberScribe.org
  • 83
  • 1 034 473
Rancher and Kubernetes: Adding a New Node to and Existing Cluster
In this video I show how to add an additional node to an existing cluster.
Note that my cluster is made of VMs.
From the Rancher menu (the hamburger icon at top left) go to Cluster Management.
Click on your cluster.
Click the 'Registration' tab and select the roles for your new node.
Copy that to your VM and let Rancher do the rest.
Переглядів: 9 150

Відео

Rancher and Kubernetes: Creating a new 3 node cluster
Переглядів 10 тис.3 роки тому
In this video I set up a new Kubernetes cluster in Rancher with 3 virtual machines. VMs: Ubuntu Server 20.04 LTS 4gb RAM 2 vCPU 50gb HDD Set up Rancher: rancher.com/quick-start/ With Docker installed (see commands below) run the following command to install Rancher: sudo docker run privileged -d restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher On VMs to be added to cluster, install Do...
Rancher and Kubernetes: Installing Rancher
Переглядів 2,4 тис.3 роки тому
In this video I will talk about Rancher, what it is and how it relates to Kubernetes. I also show how to set up Rancher for Kubernetes orchestration. Rancher quick start guide: rancher.com/quick-start/
Python Bytes: JSON Tutorial
Переглядів 2713 роки тому
In this video I talk about working with JSON in Python. Json Docs: www.json.org/json-en.html Python Json Docs: docs.python.org/3/library/json.html The JSON library is used to Serialize and Deserialized JSON object to/from Python dictionaries. Serialize - convert / change into a format that can be stored and reconstructed later. JSON is part of the Python standard libarary, just 'import json'. D...
Ansible: Playbook to install MongoDB on three servers
Переглядів 3,7 тис.3 роки тому
In preparation for creating a three MongoDB node replica set, I'm installing the current version of MongoDB via a playbook. First I'll update each managed node. Then I'll import the MongoDB repository public key. After that I'll add the MongoDB respository and install MongoDB. Finally I'll set MongoDB to auto-start on each of the three nodes. - name: Download MongoDB repository and install Mong...
Ansible: Using Ansible Galaxy to extend functionality
Переглядів 5 тис.3 роки тому
In this video I'll be installing MongoDB via Ansible Galaxy collection. Ansible Galaxy is a repository of Ansible content which expands on what is available in Ansible. galaxy.ansible.com/ This includes roles, modules, and plugins. Roles: groupings of related content. Think of complex playbooks broken into separate files. docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html Mod...
Ansible Tower: Troubleshooting Github Inventory Integration
Переглядів 1,5 тис.3 роки тому
In this video I go through some issues I experienced as I added hosts to my Github-connected inventory file. Long story short, you might need to give it some time to synchronize (at least more than a minute). One other nice feature with Ansible Tower is that there are the green/red dots and clouds throughout Ansible Tower. Those are clickable and by doing so you can drill down into why a given ...
Ansible Tower: Scheduling Playbooks / Jobs
Переглядів 8 тис.3 роки тому
In this video I talk about how to schedule playbooks / jobs in Ansible Tower for recurring tasks such as backups and updates. With Ansible itself this could be done via Cron jobs: (for example, the entry below could be found in the crontab file) 5 11 * * * /usr/bin/ansible-playbook -i path-to-hosts-file playbook.yml See crontab.guru for scheduling nomenclature. Use Schedules in Ansible Tower. 1...
Ansible Tower: Manage Nodes as a Non-Root User
Переглядів 1,5 тис.3 роки тому
Ansible Tower: Manage Nodes as a Non-Root User In this video I set up a non-root user to manage nodes and escalate privileges via Sudo. 1) Add a user to your managed nodes ('ansible' user in this case) 1a) Create an Ansible hosts file with one server on each line (or IP): srv01 srv02 1b) Create a text file containing the password you want this user to have, on a single line. 1c) Create a shell ...
Python Bytes: List Comprehensions with Conditionals
Переглядів 873 роки тому
Python Bytes Intermediate Python Topics List Comprehensions with Conditionals #A method of making lists from other values. #Defining a list and its contents at the same time. # new_list = [ item for item in iterable ] # new_list = [ item for item in iterable if conditional] #An 'iterable' is an object that contains other objects within it. #Lists, Dictionaries, Tuples, Sets, range(), and more. ...
Python Bytes: List Comprehensions Introduction
Переглядів 333 роки тому
Python Bytes Intermediate Python Topics List Comprehensions Introduction #A method of making lists from other values. #Defining a list and its contents at the same time. # new_list = [ item for item in iterable ] #An 'iterable' is an object that contains other objects within it. #Lists, Dictionaries, Tuples, Sets, range(), and more. #You can work backwards from a loop to create the comprehensio...
Python Bytes: Conditional Variable Assignment
Переглядів 6923 роки тому
Python Bytes Intermediate Python Topics Conditional Variable Assignment Topics beyond the basics of Python. Conditional statements in Python Handled with 'if' keyword. variable = value if the conditional is met otherwise set to this value If you have two environments, development and production: dev = "dev" prod = "prod" script_arg = "dev" if script_arg prod: db_env = prod else: db_env = dev db...
Ansible Tower: Github Inventory Integration
Переглядів 10 тис.3 роки тому
In this video I integrate an Ansible inventory with Github for better tracking and management of an Ansible hosts inventory. Previous video showing Github integration for playbooks: ua-cam.com/video/IffmbIatwLk/v-deo.html 1) Create a 'hosts' file in the Github repository you want to use: [all] your-server-1 your-server-2 your-server-3 [category1] your-server-1 your-server-2 [category2] your-ser...
Ansible Tower: Github Integration for Ansible Playbooks
Переглядів 15 тис.3 роки тому
Ansible Tower: Github integration for Ansible Playbooks In this video I show how to integrate playbooks into version control, specifically Github. Version Control in general allows you to track changes to a directory of files and folders over time, allowing multiple people to make changes, view others changes, merge changes together, and roll back if something goes wrong. Ansible Tower Version ...
Cockpit Introduction: Headless Server Management for Linux
Переглядів 2,4 тис.3 роки тому
In this video I introduce Cockpit, which is a server management tool available on many popular Linux distributions. cockpit-project.org/ Install Cockpit (if it's not already installed): sudo dnf install cockpit Enable Cockpit: sudo systemctl enable now cockpit.socket Cockpit additions / applications: Podman containers - RHEL Docker analog. Can pull images and run containers. (already installed ...
Ansible Tower: Introduction and install
Переглядів 22 тис.3 роки тому
Ansible Tower: Introduction and install
Ansible: Install and Run Playbook for Web Server and Database
Переглядів 7 тис.3 роки тому
Ansible: Install and Run Playbook for Web Server and Database
Introduction to Xen Virtualization - Xen Center
Переглядів 23 тис.8 років тому
Introduction to Xen Virtualization - Xen Center
How To Build a Virtualization Server for Less Than $350
Переглядів 4,1 тис.8 років тому
How To Build a Virtualization Server for Less Than $350
Pentesting / Security Lab Topology and Overview
Переглядів 2,1 тис.8 років тому
Pentesting / Security Lab Topology and Overview
SonicWALL: Upgrading Firmware and Keeping Current Settings
Переглядів 9 тис.8 років тому
SonicWALL: Upgrading Firmware and Keeping Current Settings
SonicWALL: Configuring a DHCP Server
Переглядів 16 тис.8 років тому
SonicWALL: Configuring a DHCP Server
SonicWALL: Registration and Basic Configuration
Переглядів 86 тис.8 років тому
SonicWALL: Registration and Basic Configuration
SonicWALL: How to Put into Safe Mode and Factory Default to New Firmware
Переглядів 20 тис.8 років тому
SonicWALL: How to Put into Safe Mode and Factory Default to New Firmware
Buffer Overflow Example, Information Security Basics
Переглядів 1,3 тис.8 років тому
Buffer Overflow Example, Information Security Basics
VMware Alternative: Using Xen Server for Virtualization
Переглядів 35 тис.8 років тому
VMware Alternative: Using Xen Server for Virtualization
Quick Samba Server Setup on CentOS 7
Переглядів 63 тис.8 років тому
Quick Samba Server Setup on CentOS 7
HP Switch Basic Configuration
Переглядів 241 тис.8 років тому
HP Switch Basic Configuration
Channel Preview
Переглядів 1168 років тому
Channel Preview
Cisco Terminal Server Logical Configuration Part 2
Переглядів 7 тис.8 років тому
Cisco Terminal Server Logical Configuration Part 2

КОМЕНТАРІ

  • @SH4DOWTROOP3R
    @SH4DOWTROOP3R 25 днів тому

    Bro just kinda jumped about 5 steps lol

  • @awakenerd1101
    @awakenerd1101 Місяць тому

    why did you stop doing tutorials? so much potential on this channel.

  • @fred-schneider
    @fred-schneider 3 місяці тому

    thanks for your free presentation, BUT .. if possible (in future): please use a much larger, more noticeable, colored pointer/cursor, moved with a calm (!) hand to allow following more easily your thoughts.

  • @DukeofTech90
    @DukeofTech90 3 місяці тому

    Please help.I have an interview and I was given task to do . I've done most of it but I'm having issues with Rancher cause I'm to use it for my kubernetes deployments. So the problem is that I can't find the add nodes button on the UI

  • @piotrwawrzen2113
    @piotrwawrzen2113 4 місяці тому

    nice one ! Did you try to achive that using Terraform via Rancher as resource provider ?

  • @Michael_Scott_Howard
    @Michael_Scott_Howard 4 місяці тому

    Web Interfaces like this suck... plus you have to deal with off shore redhat's beyond lame support...

  • @jonbottom4703
    @jonbottom4703 6 місяців тому

    And don't forget to add firewall rules or disable firewalld on the controller node! Otherwise, the worker nodes will never come up.

  • @neetupalLife
    @neetupalLife 6 місяців тому

    👏

  • @xtensionxward3659
    @xtensionxward3659 8 місяців тому

    how did your project sync to git hub if you didnt even put any credentials in it ?

  • @chandrank5821
    @chandrank5821 10 місяців тому

    Good explanation, Thanks a lot !!

  • @ipstacks11
    @ipstacks11 10 місяців тому

    I just realized this video is 8 years old!! You are logging in as root via ssh which isn't recommended. On rhel you would have to modify the sshd_config file to even allow that behavior. Also 'ip -br a' is a much cleaner way to see all of your ip addresses: ip -brief address. I don't even have the root account enabled on the remote server I am trying to connect too, so I am hoping to avoid using root.

  • @jmedinar
    @jmedinar Рік тому

    The reason you had to sync the project before the inventory is because you configured the inventory to rely on the project so there is a dependency... the sync button on the inventory will try to sync not directly with GitHub but with the version already pulled by the project.

  • @jmedinar
    @jmedinar Рік тому

    The file should be called `inventory` not `hosts`

  • @harshavardhandeshmukh591
    @harshavardhandeshmukh591 Рік тому

    Not able to see in any playbook into drag down from playbook

  • @jackt6112
    @jackt6112 Рік тому

    1. If you are going to do anything with networks and have it look halfway decent you will need VRT tools. 2. The text on network objects is unusable. If you work with it or try to move it, it takes part of the icon with it. You need to add a text box and group them. 3. The only place you can add text to a connector is the mid point. 4. The default line width is zero, which affects connectors is well. This is light. It increments .02 at a time, but you can type in .01. It will not take 3 decimals such as .015. 5. It does print well and the scaling and fonts are are accurate. 6. There are very few stencils available for it and no way to import them from other sources such as Visio. To try it out, I replicated a Visio network diagram. It is not nearly as productive as Visio. It requires more steps and the default settings are not usable like they are in Visio. I'm don't know why they do that. LibreOffice Draw is not something a serious IT department could afford to use just like graphic designers can't afford to use something other than Photoshop and related tools. LibreOffice Draw is for situations where it is seldom used and widely distributed. Visio's issue is it is tied to the Office version and has OS dependency issues, thus Visio isn't a one-time purchase. LibreOffice Draw is open source which makes it trustworthy. SmartDraw pricing doesn't make sense relative to Visio, and eDrawMax is funding a terrorist country. Draw_IO has issues with scaling and printing to where it only works nice on-screen. I will be giving LibreOffice a healthy donation.

  • @christslove7986
    @christslove7986 Рік тому

    This hopefully will align some people's expectations if they have used Visio for network diagramming and looking at Draw as an alternate. LibreOffice Write and Calc are fine replacements for Word and Excel, Thunderbird is superior in important ways to Outlook, and Draw could be productive if you are doing org charts and flow charts. However, Draw doesn't work with intelligent objects like you have with Visio. Draw is cripplingly unproductive with the way it handles text with images. The text writes on the image, which is seldom desirable with network equipment. If you bring a Visio drawing into Draw, it looks like from within Visio, but it actually broke the image and text boxes apart so it is not usable as an alternate editing tool for Visio drawings. If you've never used Visio, it would be logical and you would not notice the extreme inefficiency, like someone who has only ridden horses and cars and airplanes are not something they can imagine. Draw is incredibly inflexible. Visio is in no danger whatsoever of experiencing reduced sales because of Draw. If the element you selected cannot do what you want it to do, it is unlikely that you will get it to do what you want it to. There are properties you can change but that doesn't mean you changes will have any effect. There is a narrow band of properties of those shown that will have any effect on the selected object with no indication of which properties effect which objects. Draw, from an over all usability perspective, is nowhere near on par with the other elements of the LibreOffice suite.

  • @xavierprudent6963
    @xavierprudent6963 Рік тому

    Saved my day, thanks!

  • @yann8442
    @yann8442 Рік тому

    Is it really a good idea to run this? all of ranche'rs components need to be priviledged...

  • @unstoppable-ar3292
    @unstoppable-ar3292 Рік тому

    Thanks man, is there a trick to syncing an inventory file that also have secret and vault files? it keeps failing with error: "ERROR! Attempting to decrypt but no vault secrets found.

  • @thiru53
    @thiru53 Рік тому

    How can i schedule with vault password

  • @KoljaMineralka
    @KoljaMineralka Рік тому

    where is authentication and mongod.conf???

  • @KoljaMineralka
    @KoljaMineralka Рік тому

    where is cluster ?

  • @andrewfry4413
    @andrewfry4413 Рік тому

    Thanks for this! I got stuck on the RAM requirement, so this was super helpful. :)

  • @joaokusso7547
    @joaokusso7547 2 роки тому

    Where are the future videos? 🤔

  • @unknownusers2522
    @unknownusers2522 2 роки тому

    How can I integrate ip addresses too ??

  • @rajeshmarri4035
    @rajeshmarri4035 2 роки тому

    valuable

  • @shankar7588
    @shankar7588 2 роки тому

    Is it possible to schedule 3 times a day?

  • @anonymoussaif7361
    @anonymoussaif7361 2 роки тому

    Thanks much 😇 you have covered all my doubt.

  • @waltthayer3459
    @waltthayer3459 2 роки тому

    ESXi is platform based, you have to do your homework for ESXi to work out of the box. Example, I have to use ESXi 5.1.0 for a HP ProLiant ML350 g6.

  • @triasgarinda6267
    @triasgarinda6267 2 роки тому

    Hi I need help, I install the Ansible on redhat 8 and I facing the issue

    • @triasgarinda6267
      @triasgarinda6267 2 роки тому

      TASK [Select the first eliglible host for CA group] **************************** fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: No first item, sequence was empty. The error appears to be in '/root/ansible-automation-platform-setup-bundle-2.2.0-7/collections/ansible_collections/ansible/automation_platform_installer/playbooks/install.yml': line 189, column 11, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: 'Select the first eliglible host for CA group' ^ here "}

  • @Alexander-tl8uw
    @Alexander-tl8uw 2 роки тому

    there is no registration tab at my rancher v2.6.5!

    • @basuneko8609
      @basuneko8609 2 роки тому

      at my too

    • @andrusaren8348
      @andrusaren8348 2 роки тому

      Maybe it's Imported cluster?

    • @Alexander-tl8uw
      @Alexander-tl8uw 2 роки тому

      @@andrusaren8348 maybe it was

    • @hardikpargi
      @hardikpargi Рік тому

      did you find add node or register i am using V2.6.9 :( i want to add the node.)

    • @DaliborLabudovic
      @DaliborLabudovic 11 місяців тому

      Are you using RKE2 or RKE1. The example in the video is RKE1 which uses docker to deploy rancher agent, etc.

  • @SafSopNorLai
    @SafSopNorLai 2 роки тому

    This video could've so much better if he didn't talk too much.

  • @duomianshou
    @duomianshou 2 роки тому

    pretty good. Thanks. It helped me.

  • @rizqyalvindra3694
    @rizqyalvindra3694 2 роки тому

    how to migration node master to a new node master on rancher sir?

  • @asdsaasdsad4645
    @asdsaasdsad4645 2 роки тому

    "Playbook to install MongoDB on three servers" why you did not named this video "Playbook to install MongoDB on thousand servers" !? same shit. Three servers install meaning that you install one logical instance of mongo between three servers

  • @oddassembler
    @oddassembler 2 роки тому

    That was wayyyy too inconcise. It is more a diary entry than a tutorial.. sry..

  • @jeankpossou1689
    @jeankpossou1689 2 роки тому

    i need this to know the differents emplacement of machines thanks you

  • @jeankpossou1689
    @jeankpossou1689 2 роки тому

    hello i can see the architecture please

  • @avinashavinash9600
    @avinashavinash9600 2 роки тому

    good work budy ! simple and nice explanation which is interesting 🙂

    • @avinashavinash9600
      @avinashavinash9600 2 роки тому

      one issue I have. how to find which port tower is running, I have followed the same that what you did ?

  • @Hinterfrage
    @Hinterfrage 2 роки тому

    terrible ...

  • @unofficialsixthreee
    @unofficialsixthreee 2 роки тому

    quick question, what would i put for the main ip address? the one next to the subnet?

  • @talegirma8711
    @talegirma8711 2 роки тому

    good

  • @pingguo4768
    @pingguo4768 2 роки тому

    Can your inventory be a directory in your repo?

  • @DillyDogSays
    @DillyDogSays 2 роки тому

    Can you pass serial traffic over a Cisco Area Network? Or would I need a serial terminal in each area?

  • @unstoppable-ar3292
    @unstoppable-ar3292 2 роки тому

    thanks man. is there a way to import inventory file from scm while some files are vault encrypted..I do have the encryption password.

  • @yuvrajmakkena876
    @yuvrajmakkena876 2 роки тому

    Where did you install rancher? on master or worker?

  • @夏致富-p4m
    @夏致富-p4m 2 роки тому

    Fiber Mall is a one-stop supplier of professional optical communication products. It provides professional consultation, solution design, one-stop product supply, and technical support services for our customers.

  • @ypaut
    @ypaut 2 роки тому

    thanks, couldn't find the "Sources" tab!

  • @nightwolf1966
    @nightwolf1966 2 роки тому

    Oh wow you are awesome and your videos are over the top thank you for taking the time to educate as well as intertane . please keep up the great work and looking forward to the nevt video

  • @cilleainfreer4959
    @cilleainfreer4959 2 роки тому

    Hello, great video it is quite useful, but I have a serious problem. I need to lunch a playbook that will do security updates on more than 100 linux servers with all different passwords, that's were it gets tricky : I do not want to interact with anything once I started the job. I've been looking into this for many days now but can seem to find anything. Hope you might have some clues to my dilemma.

    • @szlaeyer22
      @szlaeyer22 2 роки тому

      That is exactly the point of having the same user on all of those servers with the same password.

    • @sumanthparakala2005
      @sumanthparakala2005 Рік тому

      inventory should have ansible_ssh_pass=PASSWD beside each host.