Use functions in install kubernetes script