Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
0a21d644
Commit
0a21d644
authored
Feb 27, 2019
by
Michael Taufen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rotate windows logs
parent
18cc1156
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
common.psm1
cluster/gce/windows/common.psm1
+0
-0
configure.ps1
cluster/gce/windows/configure.ps1
+3
-0
No files found.
cluster/gce/windows/common.psm1
View file @
0a21d644
This diff is collapsed.
Click to expand it.
cluster/gce/windows/configure.ps1
View file @
0a21d644
...
@@ -129,6 +129,9 @@ try {
...
@@ -129,6 +129,9 @@ try {
Log-Output
'Waiting 15 seconds for node to join cluster.'
Log-Output
'Waiting 15 seconds for node to join cluster.'
Start-Sleep
15
Start-Sleep
15
Verify-WorkerServices
Verify-WorkerServices
$config
=
New-FileRotationConfig
Schedule-LogRotation -Pattern
'.*\.log$'
-Path
${
env
:LOGS_DIR
}
-RepetitionInterval
$(
New-Timespan
-Hour 1
)
-Config
$config
}
}
catch
{
catch
{
Write-Host
'Exception caught in script:'
Write-Host
'Exception caught in script:'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment