You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo -e "\033[0;31mGKE Autopilot does not allow privileged access. Turning off privileged mode.\033[0m" >&2
197
+
echo -e "\033[0;31mTurning off Pixie for this installation which requires privileged access.\033[0m" >&2
198
+
NR_CLI_PRIVILEGED=false
199
+
PIXIE_SUPPORTED=false
219
200
220
-
if [[ "$NR_CLI_LOGGING" == "true" ]]; then
221
-
# We assume that if those both envs are set, the FileStore decision has been made on the Guided install.
222
-
if [[ -z "$NR_CLI_LOGGING_PERSISTENCE" || -z "$NR_CLI_LOGGING_LINUX_MOUNT_PATH" ]]; then
223
-
while :; do
224
-
echo ""
225
-
echo -e "\033[0;31mFluent Bit can use a FileStore volume to prevent data loss or duplicated logs during Fluent Bit pod restarts or redeploys.\033[0m" >&2
226
-
echo -e "\033[0;31mUsing FileStore will incur additional costs as charged by Google. Consult your Google Cloud Admin or visit the FileStore docs.\033[0m" >&2
227
-
echo -e "\033[0;31mNot using FileStore will produce data loss or data duplication when Fluent Bit gets restarted.\033[0m" >&2
228
-
echo -e -n "${GREEN}Do you want to use FileStore to keep track of read and sent logs by Fluent Bit? Y/N? ${NC} "
if [[ "$NR_CLI_LOGGING_PERSISTENCE" == "none" ]]; then
247
-
echo -e "\033[0;31mFluent Bit is not using a database and data loss or data duplication can happen when Fluent Bit gets restarted.\033[0m" >&2
248
-
elif [[ "$NR_CLI_LOGGING_PERSISTENCE" == "persistentVolume" ]]; then
249
-
echo -e "\033[0;31mFluent Bit is using FileStore volume to prevent data loss or duplicated logs during Fluent Bit pod restarts or redeploys. Using FileStore will incur additional costs as charged by Google. Consult your Google Cloud Admin or visit the FileStore docs.\033[0m" >&2
250
-
fi
201
+
if [[ "$NR_CLI_LOGGING" == "true" ]]; then
202
+
# We assume that if those both envs are set, the FileStore decision has been made on the Guided install.
203
+
if [[ -z "$NR_CLI_LOGGING_PERSISTENCE" || -z "$NR_CLI_LOGGING_LINUX_MOUNT_PATH" ]]; then
204
+
while :; do
205
+
echo ""
206
+
echo -e "\033[0;31mFluent Bit can use a FileStore volume to prevent data loss or duplicated logs during Fluent Bit pod restarts or redeploys.\033[0m" >&2
207
+
echo -e "\033[0;31mUsing FileStore will incur additional costs as charged by Google. Consult your Google Cloud Admin or visit the FileStore docs.\033[0m" >&2
208
+
echo -e "\033[0;31mNot using FileStore will produce data loss or data duplication when Fluent Bit gets restarted.\033[0m" >&2
209
+
echo -e -n "${GREEN}Do you want to use FileStore to keep track of read and sent logs by Fluent Bit? Y/N? ${NC} "
if [[ "$NR_CLI_LOGGING_PERSISTENCE" == "none" ]]; then
228
+
echo -e "\033[0;31mFluent Bit is not using a database and data loss or data duplication can happen when Fluent Bit gets restarted.\033[0m" >&2
229
+
elif [[ "$NR_CLI_LOGGING_PERSISTENCE" == "persistentVolume" ]]; then
230
+
echo -e "\033[0;31mFluent Bit is using FileStore volume to prevent data loss or duplicated logs during Fluent Bit pod restarts or redeploys. Using FileStore will incur additional costs as charged by Google. Consult your Google Cloud Admin or visit the FileStore docs.\033[0m" >&2
0 commit comments