When trying to connect the AWS instance and download the file, i get an error message as below.

[root@localhost ansbile_playbook]# ansible-playbook install_docker.yamlPLAY [awsnode] ********************************************************************TASK [Gathering Facts] ********************************************************************
ok: [34.229.157.247]
TASK [Download the docker repo.] ********************************************************************
fatal: [34.229.157.247]: FAILED! => {"changed": false, "checksum_dest": null, "checksum_src": "d7ff809b1df9aaba3a0e3e0c68ed188e3d3ff9d9", "dest": "/etc/yum.repos.d/docker-ce.repo", "elapsed": 0, "msg": "Destination /etc/yum.repos.d is not writable", "src": "/home/ec2-user/.ansible/tmp/ansible-tmp-1649573642.0434856-1978-145705028410837/tmpesi9z8h6", "url": "https://download.docker.com/linux/rhel/docker-ce.repo"}
PLAY RECAP ********************************************************************
34.229.157.247 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

The ansible.cfg was setup as below. It was disabled.

--

--

Kubernetes cluster is accessed by human(admin users , dev user ..etc ) and processes ( pod , external application ..etc).

A service account provides an identity for processes that run in a Pod. Processes in containers inside pods can also contact the apiserver. When they do, they are authenticated as a particular Service Account.

default- ServiceAccount

Let’s create a serviceaccount under the namespace blue.

--

--

We need user account to login to any systems, once the user (user name & Password) successfully authenticated we will be able to login to system.

After the successful login a session will be created for the logged-in user. if the same user logins multiple time multiple sessions will be created.

In Linux terminal we can use command “w” to check the login users.

Alternatively we can use loginctl command to check the user sessions:

--

--