BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
thesasuser
Lapis Lazuli | Level 10

Hello
Wondering if it is possible to obtain the cadence and release information of a Viya4 deployment using kubectl command.
I know we can get it from SAS Studio, but I am trying to see if that can be had through kubectl.

1 ACCEPTED SOLUTION

Accepted Solutions
JackMcGuire
Obsidian | Level 7

Hello,

 

This kubectl command should give you the details of the  SAS Viya version and cadence:

kubectl -n <sas-viya-namespace> get configmap -l "orchestration.sas.com/lifecycle==metadata" --output jsonpath="{.items[*].data}" | jq | grep "SAS_CADENCE"

If you don't have jq installed you can use this command instead:

kubectl -n <sas-viya-namespace> get configmap -o yaml | grep ' SAS_CADENCE'

Thanks,

Jack 

View solution in original post

2 REPLIES 2
JackMcGuire
Obsidian | Level 7

Hello,

 

This kubectl command should give you the details of the  SAS Viya version and cadence:

kubectl -n <sas-viya-namespace> get configmap -l "orchestration.sas.com/lifecycle==metadata" --output jsonpath="{.items[*].data}" | jq | grep "SAS_CADENCE"

If you don't have jq installed you can use this command instead:

kubectl -n <sas-viya-namespace> get configmap -o yaml | grep ' SAS_CADENCE'

Thanks,

Jack 

thesasuser
Lapis Lazuli | Level 10

Thanks.
It worked like a charm.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 460 views
  • 0 likes
  • 2 in conversation