but in all of CS you got so many niches you could get astronomical salaries, cryptography, algotrading, advertising. and that's all before stock options or ownership. highest pay is when you own something.
If you only know kubernetes or docker without knowing what runs on them, it’s quite unlikely that your salary is going to be stellar...
If it’s money you’re after, quant/dev or algo trading is your best bet.
It can pay you really well. I have seen people making six figures doing Excel Work such as writing VBA scripts so it all depends on the person.
If you are devops guy and you are really good at you can be making a lot of money