If you would like to make modifications to Enterprise Server’s K8s manifests, you can patch them with Kustomize. For example, you can customize the number of replicas that you want to use in your environment or specify what node selectors to use for deployment. Please refer to this resource.
You can check if there are any changes to your license (change of expiry, configuration change, etc) through the License tab on the Replicated admin console.1. Sync License
Navigate to the “License” tab on the Admin Console
Click on “Sync License” to get the latest version of the license
A “License synced successfully” note will appear when the changes are successfully applied.
2. Deploy DeepSourceDeepSource Enterprise Server needs to be redeployed for the License changes to reflect.
Navigate to the “Version History” tab on the Admin Console
A new release saying “License Change” will now be available
This most likely happens if your license has expired. Check the status of your license from the admin console. If you still face the error, reach out to the Enterprise Support for help.
The spinner is stuck in loop when the first analysis is performed
It is highly likely that the node selector labels haven’t been set, and thus the analysis pods haven’t been scheduled onto the nodes. To investigate this run:
Copy
Ask AI
kubectl describe pod <pod-name> -n atlas-jobs
Where <pod-name> can be fetched by running:
Copy
Ask AI
kubectl get pods -n atlas-jobs
Running the former command will return information about the pod. At the last section of the output, you will see something like as shown below
Copy
Ask AI
Type Reason Age From Message---- ------ ---- ---- -------Normal Created 20m (x352 over 7d7h) kubelet, gke-... Created container ...Normal Started 20m (x352 over 7d7h) kubelet, gke-... Started container ...Normal Pulled 20m (x351 over 7d7h) kubelet, gke-... Container image "..." already present on machine
In the case of missing labels, the output will notify you that it wasn’t able to match any node selectors. To fix this, run:
Copy
Ask AI
kubectl label nodes <node-name> X=Y
Where X=Y is the label key pair you entered in the admin console during installation.
Repositories are not visible when attempting to sync
This can be attributed to misconfiguration in the admin console. To fix this, recreate a new GitHub app private key and upload the same to the admin console, and then redeploy.
This clearly indicates a firewall issue between the nodes (or VMs), as the CNI (Container Networking Interface) requires the pods to be resolvable with each other over the overlay network across all the nodes. When a firewall is blocking the network, pods from one node, or for that matter, the Kubernetes master node, isn’t able to communicate with the pods on the other node. To resolve this, please refer to this resource.
Support bundle generation has been stuck at X% for the last few hours
If support bundle generation is stuck (or) taking a long time, it is most likely because you’re on older version of KOTS. Please upgrade KOTS using the following command:
During version upgrades, there might be database migrations associated with it. From the logs, if you notice the migrations are failing, run the following command to re-apply the migrations.