# AWX Installation

**URL:** <https://forum.ansible.com/t/awx-installation/37231>\
**Category:** AWX Project\
**Tags:** awx-project, awx, kubernetes\
**Created:** [October 14, 2022, 8:09pm UTC](https://forum.ansible.com/t/awx-installation/37231 "2022-10-14T20:09:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kurokobo1](https://avatars.discourse-cdn.com/v4/letter/k/f0a364/32.png) [@kurokobo1](https://forum.ansible.com/u/kurokobo1)\
**Post date:** [October 14, 2022, 8:09pm UTC](https://forum.ansible.com/t/awx-installation/37231/1 "2022-10-14T20:09:59Z")

</div>

Hi,

> # kubectl -n awx logs -f deployments/awx-operator-controller-manager -c awx-manager
> 
> Error from server: Get "[https://x.x.x.x:10250/](https://x.x.x.x:10250/)…

Is your K3s installed on `pocans`?  
If so, the default URL for Kubernetes API for K3s is `[https://127.0.0.1:6443](https://127.0.0.1:6443)`, so I think your `kubectl` tries to connect different Kubernetes cluster other than K3s,  
I guess you’ve installed kubectl manually before installing K3s (K3s skips installing kubectl if it already exists), or environment variable KUBECONFIG specifies different config file other than `/etc/rancher/k3s/k3s.yaml`.

Suggestions;  
Make sure your `kubectl` is symbolic link to `k3s` (this is designed by K3s)

> $ ls -l $(which kubectl)  
> lrwxrwxrwx. 1 root root 3 Oct 11 07:25 /usr/local/bin/kubectl → k3s

Or, append `k3s` before your `kubectl` command for every time e.g.:

> $ k3s kubectl -n awx logs -f deployments/awx-operator-controller-manager -c awx-manager

Or, export KUBECONFIG to make `kubectl` use /etc/rancher/k3s/k3s.yaml

---

<div class="post-metadata">

**Author:** ![Alex\_Shishko](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@Alex\_Shishko](https://forum.ansible.com/u/Alex_Shishko)\
**Post date:** [October 17, 2022, 11:44am UTC](https://forum.ansible.com/t/awx-installation/37231/2 "2022-10-17T11:44:03Z")

</div>

Hello Mohamad.) Watch this videos:

[https://youtu.be/73EH4crtF\_Q](https://youtu.be/73EH4crtF_Q)  
[https://youtu.be/MkUIPHBxK4g](https://youtu.be/MkUIPHBxK4g)

пт, 14 окт. 2022 г. в 23:10, ‘kurokobo’ via AWX Project \<[awx-project@googlegroups.com](mailto:awx-project@googlegroups.com)\>:
