This project contains Ansible code that creates a baseline in an existing Kubernetes environment for use with the SAS Viya Platform, generates the manifest for an order, and then can also deploy that order into the Kubernetes environment specified.
Apache License 2.0
71
stars
64
forks
source link
Duplicate replicasets and configmaps after update #268
I have a client site running Viya 4 instance deployed using viya4-deployment tool. Installation works fine but if we have to apply any settings like ODBC or any updates(version updates), we get duplicate pods, configmaps and replicasets after applying. Everything keeps working until we start/stop services. Start of services fails due to duplicate entries.
Pending pods goes away with restart but ConfigMaps and ReplicaSets which gets duplicated every time we apply update and create issues in further start/stop of services.
We have tried both mechanisms of updating(not simultaneously), end result is same:
Automated deployment tool to upgrade: # viya4-deployment –tags “viya,update”
Using kubectl commands with –prune option
a. kubectl -n sasviya4aws apply -f site.yaml --selector="sas.com/admin=cluster-api"
b. kubectl -n sasviya4aws wait --for condition=established --timeout=60s -l "sas.com/admin=cluster-api" crd
c. kubectl -n sasviya4aws apply -f site.yaml --selector="sas.com/admin=cluster-wide"
d. kubectl -n sasviya4aws apply --selector="sas.com/admin=cluster-local" -f site.yaml --prune
e. kubectl -n sasviya4aws apply --selector="sas.com/admin=namespace" -f site.yaml --prune
I have a client site running Viya 4 instance deployed using viya4-deployment tool. Installation works fine but if we have to apply any settings like ODBC or any updates(version updates), we get duplicate pods, configmaps and replicasets after applying. Everything keeps working until we start/stop services. Start of services fails due to duplicate entries.
Pending pods goes away with restart but ConfigMaps and ReplicaSets which gets duplicated every time we apply update and create issues in further start/stop of services.
We have tried both mechanisms of updating(not simultaneously), end result is same:
We need help. SAS Track 7613615557